2 Samuel 18:2

18:2 David then sent out the army – a third under the leadership of Joab, a third under the leadership of Joab’s brother Abishai son of Zeruiah, and a third under the leadership of Ittai the Gittite. The king said to the troops, “I too will indeed march out with you.”

2 Samuel 18:4

18:4 Then the king said to them, “I will do whatever seems best to you.”

So the king stayed beside the city gate, while all the army marched out by hundreds and by thousands.

2 Samuel 18:12

18:12 The man replied to Joab, “Even if I were receiving a thousand pieces of silver, I would not strike the king’s son! In our very presence the king gave this order to you and Abishai and Ittai, ‘Protect the young man Absalom for my sake.’