I noticed that someone on another thread was asking this question, implying that everything is God's fault, or that God is evil. On that thread I didn't see anyone give what I think is the correct answer, and I wanted to reply, but I had to leave the house so I didn't have time.
It all comes down to free will. God did not create "evil." God gave us free will, and the inevitable price of free will is that some people will choose to do evil. Evil is the opposition of goodness, it is when someone goes against God's perfect nature and what he expects of us (truth, love, justice, etc.)
So when someone uses the gift of free will in the wrong way, that is on them. Do not blame God for giving you freedom. Because the alternative would be immoral. If God created us with no freedom to make choices, like robots, or puppets on a string, with no choice in whether to follow God or not... THAT would be evil and wrong. But that isn't what God did. He gave us the freedom to make choices, good or bad. And as a consequence, there is evil in this world. But it is just temporary.