In the drawing Sodom Is Destroyed, God rains fire and brimstone on Sodom because he did not find ten righteous people there.

According to the Bible, God decided to destroy the city of Sodom because its inhabitants did not show appropriate hospitality to visitors. However, God had promised to spare the city if even ten righteous people could be found there. Not found, and the city was destroyed.
According to the modern interpretation, the Sodom incident was about patriarchal tyranny. In a patriarchal society, male honour was much the same as human dignity, and violating it was a heavy shame. Mass rape of men is the ultimate means of shaming the enemy and showing them their place. It’s not about realising a homosexual identity or erotic pleasure, but about showing one’s masculinity and superiority over strangers. Because of this, Lot’s daughters did not qualify as substitutes for guests.