The problem of evil and the judgments of God