God doesn’t have petty human emotions. Any Qur’an translations claiming “God’s wrath” are in error. The law of cause and effect is much like the law of gravity. If I jump from a height I will be injured. Gravity wasn’t trying to smite me, it was the effect of a natural law. God isn’t setting us up to fail; God’s laws are to help us and help society. You will never find a Deen as concerned with uplifting society as Islam.