KJV
But before they lay down, the men of the
city, [even] the men of Sodom, compassed the house round, both old and young,
all the people from every quarter:
BSB
Before they had gone to bed, all the men of the city of Sodom, both young and old, surrounded the house.