And when David heard of it, he sent Joab, and all the army of the mighty men.
And David said, Whoever smites the Jebusites first shall be chief and captain. And Joab the son of Zeruiah went up first, and was made chief.
So they hired for them thirty-two thousand chariots, and the king of Maacah and his people, who came and encamped before Medeba. And the sons of Ammon gathered themselves together from their cities, and came to battle.
And the sons of Ammon came out, and put the battle in array at the gate of the city. And the kings that came were by themselves in the field.