2 Samuel 18:4

The king said to them, "I will do what seems best to you." The king stood beside the gate, and all the people went out by hundreds and by thousands.

2 Samuel 18:24

Now David was sitting between the two gates: and the watchman went up to the roof of the gate to the wall, and lifted up his eyes, and looked, and, behold, a man running alone.

1 Samuel 29:2

The lords of the Philistines passed on by hundreds, and by thousands; and David and his men passed on in the rear with Achish.

2 Samuel 18:1

David numbered the people who were with him, and set captains of thousands and captains of hundreds over them.

Isaiah 28:6

and a spirit of justice to him who sits in judgment, and strength to those who turn back the battle at the gate.

Treasury of Scripture Knowledge

Summary

And the king said unto them, What seemeth you best I will do. And the king stood by the gate side, and all the people came out by hundreds and by thousands.

Bible References

By the gate

2 Samuel 18:24
Now David was sitting between the two gates: and the watchman went up to the roof of the gate to the wall, and lifted up his eyes, and looked, and, behold, a man running alone.
Isaiah 28:6
and a spirit of justice to him who sits in judgment, and strength to those who turn back the battle at the gate.

By hundreds

2 Samuel 18:1
David numbered the people who were with him, and set captains of thousands and captains of hundreds over them.
1 Samuel 29:2
The lords of the Philistines passed on by hundreds, and by thousands; and David and his men passed on in the rear with Achish.