Judges 19:22
Now as they were making their hearts merry, behold, the men of the city, certain sons of Belial, beset the house round about, and beat at the door, and spake to the master of the house, the old man, saying, Bring forth the man that came into thine house, that we may know him.
The verse belongs to the closing account of Israel's backsliding in chapters 17-21, showing that such backsliding brings disgrace and punishment and cannot be done without consequences or with impunity. Those closing chapters record events from the early part of the history of the judges, so the main narrative of the book ends with chapter 16. The verse reflects Israel's deeply fallen condition near the end of the period of the judges. It is part of the account of the crime at Gibeah, whose guilt was shared by the wider tribe of Benjamin.
It depicts the extreme moral corruption of Israel when everyone did what seemed right to themselves, with the conditions in chapters 18 and 19 scarcely exceeded by Sodom. The episode exposes a corrupt ordering of values that placed conventional hospitality above a woman's virtue, and such wrongdoing has no excuse. It shows that unaided human judgment and conscience can be perverted by selfishness until wrong appears right and right appears wrong, so right must instead be measured by God's law.