1 Chronicles 19:12-19

19:12 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. 19:13 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!” 19:14 So Joab and his men marched toward the Arameans to do battle, and they fled before him. 19:15 When the Ammonites saw the Arameans flee, they fled before Joab’s brother Abishai and withdrew into the city. Joab went back to Jerusalem.

19:16 When the Arameans realized they had been defeated by Israel, they sent for reinforcements from beyond the Euphrates River, led by Shophach the commanding general of Hadadezer’s army. 19:17 When David was informed, he gathered all Israel, crossed the Jordan River, and marched against them. David deployed his army against the Arameans for battle and they fought against him. 19:18 The Arameans fled before Israel. David killed 7,000 Aramean charioteers and 40,000 infantrymen; he also killed Shophach the commanding general. 19:19 When Hadadezer’s subjects saw they were defeated by Israel, they made peace with David and became his subjects. The Arameans were no longer willing to help the Ammonites.