theodicy

noun

1.
the branch of theology that defends God's goodness and justice in the face of the existence of evil