The vindication of divine goodness in view of the problem of evil.

In the philosophy of religion, a theodicy is an argument that attempts to resolve the problem of evil that arises when all power and all goodness are simultaneously ascribed to God.