I can’t tell you for sure WHY God created mice, but I am sure He had a reason. Perhaps it was to give cats a toy to play with or use as a prize to leave on the front steps for their masters.
But this I know: mice were not created to be eaten by humans.