For questions about how one resolves the idea of a good God with the problem of evil

Theodicies are arguments that attempt to reconcile the characteristics of God (goodness, power, knowledge) with the existence of evil and suffering in the world.