Imagine a whole city united in a single, vile purpose. This wasn't just a few bad apples; it was the entire population.
The verse vividly portrays the utter corruption of Sodom. The phrasing 'both old and young, all the people to the last man' emphasizes that this was not an isolated incident but a systemic, widespread evil. Every segment of society, from the elders to the youth, participated in this depravity. This collective sin wasn't hidden; it was openly expressed in their demand to 'know' the visitors, a euphemism for their wicked intentions. This unity in wickedness reveals a society that had completely abandoned any sense of morality or shame, making them ripe for judgment.