2 Samuel 10:6-14

10:6 When the Ammonites realized that David was disgusted with them, they sent and hired 20,000 foot soldiers from Aram Beth Rehob and Aram Zobah, in addition to 1,000 men from the king of Maacah and 12,000 men from Ish-tob.

10:7 When David heard the news, he sent Joab and the entire army to meet them. 10:8 The Ammonites marched out and were deployed for battle at the entrance of the city gate, while the men from Aram Zobah, Rehob, Ish-tob, and Maacah were by themselves in the field.

10:9 When Joab saw that the battle would be fought on two fronts, he chose some of Israel’s best men and deployed them against the Arameans. 10:10 He put his brother Abishai in charge of the rest of the army and they were deployed against the Ammonites. 10:11 Joab said, “If the Arameans start to overpower me, you come to my rescue. If the Ammonites start to overpower you, I will come to your rescue. 10:12 Be strong! Let’s fight bravely for the sake of our people and the cities of our God! The Lord will do what he decides is best!”

10:13 So Joab and his men marched out to do battle with the Arameans, and they fled before him. 10:14 When the Ammonites saw the Arameans flee, they fled before his brother Abishai and went into the city. Joab withdrew from fighting the Ammonites and returned to Jerusalem.