2 Samuel 10:13-19

13So Joab and the people who were with him moved forward into battle against the Arameans; and they fled before him. 14When the Ammonites saw that the Arameans fled, they likewise fled before Abishai, and entered the city. Then Joab returned from fighting against the Ammonites, and came to Jerusalem.

15But when the Arameans saw that they had been defeated by Israel, they gathered themselves together. 16Hadadezer sent and brought out the Arameans who were beyond the Euphrates; and they came to Helam, with Shobach the commander of the army of Hadadezer at their head. 17When it was told David, he gathered all Israel together, and crossed the Jordan, and came to Helam. The Arameans arrayed themselves against David and fought with him. 18The Arameans fled before Israel; and David killed of the Arameans seven hundred chariot teams, and forty thousand horsemen, and wounded Shobach the commander of their army, so that he died there. 19When all the kings who were servants of Hadadezer saw that they had been defeated by Israel, they made peace with Israel, and became subject to them. So the Arameans were afraid to help the Ammonites any more.

From the oremus Bible Browser https://bible.oremus.org v2.9.2 30 June 2021.