Book of Deuteronomy
Brueggemann observes that, while the various biblical books do not agree on a theodicy, there was a temporary "theodic settlement" in the biblical Book of Deuteronomy.