Berean Study Bible (BSB) - 2 Samuel 18:4 >

“I will do whatever seems best to you,” the king replied. So he stood beside the gate, while all the troops marched out by hundreds and by thousands.

Jewish Publication Society of America Version (JPS1917) - 2 Samuel 18:4 >

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 went out by hundreds and by thousands.