He sent out one third of his army under the command of Joab, another third under the command of Abishai the son of Zeruiah, and the rest under the command of Ittai from Gath. He told the soldiers, “I'm going into battle with you.”
Meanwhile, Joab the son of Zeruiah was leading David's soldiers, and the two groups met at the pool in Gibeon. Abner and his men sat down on one side of the pool, while Joab and his men sat on the other side.
They called out to Hezekiah, and three of his highest officials came out to meet them. One of them was Hilkiah's son Eliakim, who was the prime minister. The other two were Shebna, assistant to the prime minister, and Joah son of Asaph, keeper of the government records.
David had told his troops, “The first soldier to kill a Jebusite will become my army commander.” And since Joab son of Zeruiah attacked first, he became commander.