I'm going to leave spoiled food out for someone to eat.
Why would you do such a thing?
It's the only way to teach them a lesson.
It's inappropriate to leave out spoiled food for someone to eat just to get revenge on them. If they eat it they could get very sick.
I know they are going to get food poisoning and they deserve it.
That's a mean thing for you to do. You shouldn't leave spoiled food out for anyone to find. Getting revenge on others is wrong and you should be nicer to others.