"Sodom" in the Bible represents the love of self and the love of ruling or dominating others springing from the love of self. This is why it is depicted as such an evil place, and why it was utterly destroyed by God.
This is not, of course, the usual association people have with Sodom; it has long been connected to homosexuality because in Genesis 19 the men of the city tried to rape the male angels who were visiting Lot. But if you think about it, it makes sense. Experts regard rape as a crime of violence and domination more than a crime of sexual desire, and the fact that Lot offered his daughters as an alternative indicates that the men of the city were not picky about who they dominated and violated. Their delight was in the domination.
The Writings, in fact, say that all stories about adultery in the Bible – from the more mild up to and including the intended homosexual gang rape in Sodom – are actually depictions of the love of self in various forms.