Here's what's wrong with the movie. The villain is evil just for the plot to make sense.
The king created a kingdom specifically for people to come and for them to willingly give them his wishes. He doesn't force anyone to do it, and for the majority of his life he created a prosperous soci
ety. But in typical Disney fashion some random 18 year old thinks they know better. Worse yet, she is selfish, and the entire movie is based on her wanting to get her families wishes granted, and after the fact she decides to help everyone else.
Now everyone gets a chance to fulfill their wish, at the cost of the society the king created. So when people starve to death or die in wars attempting to fulfill their wish, then I guess that's alright. It's just so stupid in the logic they use. They should have had the king evil from the start if they wanted to go this route.