The actual reasons Sodom and Gomorrah was destroyed.

Why did G-d destroy Sodom and Gomorrah*? Many say it was homosexuality and as we look further in Genesis we find that homosexuality was indeed rampant in Sodom and Gomorrah (verse 19:5). However, as we look deeper in the Tanakh we find through the prophets Sodom and Gomorrah was plagued with more than homosexuality. Ezekiel and Jeremiah expounded on the wickedness of the original Sin City. Homosexuality appears to be one of it’s 7 deadly sins.

*Genesis 19:5 They called Lot and said to him, “Where are the men who came to stay with you tonight? Bring them out to us! We want to have sex with them!”

**Ezekiel 16:49-50 The crimes of your sister S’dom were pride and gluttony; she and her daughters were careless and complacent, so that they did nothing to help the poor and needy. They were arrogant and committed disgusting acts before me; so that when I saw it, I swept them away.

***Jeremiah 23:14
14 But in the prophets of Yerushalayim
I have seen a horrible thing —
they commit adultery, live in lies,
so encouraging evildoers
that none returns from his sin.
For me they have all become like S’dom,
its inhabitants like ‘Amora.”

As we see here the 7 deadly sins are addressed elsewhere in the Tanakh: