2 Samuel 10:13-19
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.
10:15 When the Arameans realized that they had been defeated by Israel, they consolidated their forces.
10:16 Then Hadadezer sent for Arameans from beyond the Euphrates River, and they came to Helam. Shobach, the general in command of Hadadezer’s army, led them.
10:17 When David was informed, he gathered all Israel, crossed the Jordan River, and came to Helam. The Arameans deployed their forces against David and fought with him.
10:18 The Arameans fled before Israel. David killed 700 Aramean charioteers and 40,000 foot soldiers. He also struck down Shobach, the general in command of the army, who died there.
10:19 When all the kings who were subject to Hadadezer saw they were defeated by Israel, they made peace with Israel and became subjects of Israel. The Arameans were no longer willing to help the Ammonites.