The Bible describes why God unleashed his wrath on the ancient cities Sodom and Gomorrah, but archaeologists have explained, in a 2018 study, how they think it happened, which may offer unique, relevant insight into the ways of the Creator.
Abraham tried to intercede on their behalf, pleading for God to spare them even if there were only 10 good people left in Sodom. God agreed, and sent two angels to meet Abraham's nephew Lot there.
Lot took the angels into his home, where the wicked men in Sodom came after them, wanting to "know" the angels (largely understood as wanting to have sexual relations with them), proving their sinfulness and justifying God to go ahead with the destruction, but not before warning Lot to flee the city with his wife and daughters.
"Then the Lord rained on Sodom and Gomorrah sulfur and fire from the Lord out of heaven. And he overthrew those cities, and all the valley, and all the inhabitants of the cities, and what grew on the ground. But Lot's wife, behind him, looked back, and she became a pillar of salt."