TIL in traditional Christian theology there are four sins "which cry out to heaven for vengeance" : murder, sodomy, oppression of the poor, and defrauding a worker of his wages.
What was the crime of Sodom and Gomorrah? According to my rabbi (and supported by the writings and prophets), it was making charity illegal. The punishment for breaking said crime was gang raping the receiver of said charity. Only rich people were allowed in the cities, you see, with the idea that this would make the cities stronger. Drive out the weak and undesirable was the idea.