2 Samuel 18:4

The king said to them, "I will do what seems good in your eyes." So the king stood at the side of the gate [while] all of the troops went out by hundreds and by thousands.

2 Samuel 18:24

Now David [was] sitting between the two gates, and the sentinel went up to the roof of the gate by the wall and he lifted up his eyes and watched, and look, a man [was] running by himself.

1 Samuel 29:2

The rulers of [the] Philistines [were] passing on according to hundreds and thousands, David and his men passing on at the rear with Achish.

2 Samuel 18:1

Then David mustered the people who [were] with him, and he appointed over them commanders of thousands and commanders of hundreds.

Isaiah 28:6

and a spirit of justice to the one who sits over 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 sentinel went up to the roof of the gate by the wall and he lifted up his eyes and watched, and look, a man [was] running by himself.
Isaiah 28:6
and a spirit of justice to the one who sits over judgment, and strength [to] those who turn back [the] battle [at the] gate.

By hundreds

2 Samuel 18:1
Then David mustered the people who [were] with him, and he appointed over them commanders of thousands and commanders of hundreds.
1 Samuel 29:2
The rulers of [the] Philistines [were] passing on according to hundreds and thousands, David and his men passing on at the rear with Achish.