Why do bad things happen to good people?

At first glance, life seems to be full of paradoxical contradictions that appear to deny the existence of a loving God. But there is an answer.