Why do bad things happen to good people? If God is good then why does He allow it?

The question should really be turned upside down. Why does God allow good things to happen to anyone? Aren’t we all fallen short? If so, does anyone “deserve” good things?

In the final analysis, the problem of evil shows us our need for the goodness of God and morality.