6 When the Ammonites saw that they had become a stench to David, the Ammonites sent and hired the Syrians of vBeth-rehob, and wthe Syrians of Zobah, 20,000 foot soldiers, and the king of xMaacah with 1,000 men, and the men of yTob, 12,000 men. 7 And when David heard of it, he sent Joab and all the host of zthe mighty men. 8 And the Ammonites came out and drew up in battle array at the entrance of the gate, and wthe Syrians of Zobah and of Rehob and ythe men of Tob and Maacah were by themselves in the open country.
9 When Joab saw that the battle was set against him both in front and in the rear, he chose some of the best men of Israel and arrayed them against the Syrians. 10 The rest of his men he put in the charge of Abishai his brother, and he arrayed them against the Ammonites. 11 And he said, “If the Syrians are too strong for me, then you shall help me, but if the Ammonites are too strong for you, then I will come and help you. 12 aBe of good courage, and blet us be courageous for our people, and for the cities of our God, and cmay the Lord do what seems good to him.” 13 So Joab and the people who were with him drew near to battle against the Syrians, and they fled before him. 14 And when the Ammonites saw that the Syrians fled, they likewise fled before Abishai and entered the city. Then Joab returned from fighting against the Ammonites and came to Jerusalem.