Let's get something straight here (no pun intended): Sodom was not destroyed by God only or primarily because of pride, avarice and being inhospitable. The men of Sodom were described as "exceedingly wicked and sinful against the Lord" (Genesis 13:13); their sin was "very grave" (Genesis 18:20). Does this sound like the inhabitants of the city were just arrogant and unpleasant to strangers? Obviously not. We see some of the depths of the depravity of the people of Sodom in the demands they make of Lot concerning his angelic guests:
Genesis 19:5
5 And they called to Lot and said to him, "Where are the men who came to you tonight? Bring them out to us that we may know them carnally."
Here is the great wickedness of Sodom on display. Pride, idleness, excess of goods, and selfishness may have characterized the people of Sodom (Ezekiel 16:49-50), but the prophet emphasizes their pride and their committing "abomination" (Leviticus 18:22) as the cause of God's terrible judgment (vs. 50) What's more, it was not just the men of the city caught up in this wretched wickedness but women and children, too! (Genesis 19:4)