Cal Thomas offers some pretty good insight here, including

… Another question is, "Why do bad things happen to good people?"

The
questions are mostly rhetorical, since by asking them, the questioners
don’t actually expect, or even desire, an answer. They are asked in an
accusatory way, as if the questions themselves indict, try and convict
as fools those who believe in God.

One counterquestion should be: Why do good things happen to bad
people? The Scriptures say, "Only God is good." All humanity is
diagnosed as "sinful" and "not righteous." Our desires are "only evil
all the time." Look it up.

 

Don Johnson Evangelistic Ministries