A good book on this subject is: 21 Reasons Bad Things Happen to Good People, Amazon dot com results here.
The book of Job in the Bible is the best of the best. I usually only read what Job and God say because what the others say made God mad. I am thinking of making a t chart to compare what Job said versus what the others said. I want to follow Job’s example.