2 Samuel 18:4

And the king said to them, "I will do whatever seems good to you." Therefore, the king stood beside the gate. And the people went out by their troops, by hundreds and by thousands

Other versions

King James Version

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.

English Standard Version

The king said to them, "Whatever seems best to you I will do." So the king stood at the side of the gate, while all the army marched out by hundreds and by thousands.

New International Version

The king answered, "I will do whatever seems best to you." So the king stood beside the gate while all the men marched out in units of hundreds and of thousands.