2 Samuel 10:7-12

7And when David heard of it, he sent Joab and all the host of athe mighty men. 8And the Ammonites came out and drew up in battle array at the entrance of the gate, and bthe Syrians of Zobah and of Rehob and cthe men of Tob and Maacah were by themselves in the open country.

9When 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. 10The rest of his men he put in the charge of Abishai his brother, and he arrayed them against the Ammonites. 11And 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 dBe of good courage, and elet us be courageous for our people, and for the cities of our God, and fmay the Lord do what seems good to him.”
Copyright information for ESV