10 When Joab saw that the battle line was against him before and behind, he chose some of Israel's best and put them in battle array against the Syrians. 11 And the rest of the people he put under the command of Abishai his brother, and they set themselves in battle array against the people of Ammon. 12 Then he said, "If the Syrians are too strong for me, then you shall help me; but if the people of Ammon are too strong for you, then I will help you. 13 "Be of good courage, and let us be strong for our people and for the cities of our God. And may the LORD do what is good in His sight." 14 So Joab and the people who were with him drew near for the battle against the Syrians, and they fled before him. 15 When the people of Ammon saw that the Syrians were fleeing, they also fled before Abishai his brother, and entered the city. So Joab went to Jerusalem.
16 Now when the Syrians saw that they had been defeated by Israel, they sent messengers and brought the Syrians who were beyond 1 the River, 2 and 3 Shophach the commander of Hadadezer's army went before them. 17 When it was told David, he gathered all Israel, crossed over the Jordan and came upon them, and set up in battle array against them. So when David had set up in battle array against the Syrians, they fought with him. 18 Then the Syrians fled before Israel; and David killed 4 seven thousand 5 charioteers and forty thousand 6 foot soldiers 7 of the Syrians, and killed Shophach the commander of the army. 19 And when the servants of Hadadezer saw that they were defeated by Israel, they made peace with David and became his servants. So the Syrians were not willing to help the people of Ammon anymore.