The theological and philosophical attempt to justify the ways of God to humans in light of the problem of evil.