Wiktionary
cosmodicy
n. A justification of the fundamental goodness of the universe, especially in regard to the existence of evil and suffering in the world; a work or discourse justifying the ways of the universe.