A theodicy, meaning 'vindication of God', is an argument in the philosophy of religion that attempts to resolve the problem of evil, which arises when all power (omnipotence) and all goodness (omnibenevolence) are attributed to God simultaneously.