1 Chronicles 19:8-14
English Standard Version
Chapter 19
8When David heard of it, he sent Joab and all the army of the mighty men. 9And the Ammonites came out and drew up in battle array at the entrance of the city, and the kings who had come were by themselves in the open country.
10When 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.
11The rest of his men he put in the charge of Abishai his brother, and they were arrayed against the Ammonites.
12And 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 help you.
13Be strong, and let us use our strength for our people and for the cities of our God, and may the Lord do what seems good to him."
14So Joab and the people who were with him drew near before the Syrians for battle, and they fled before him.