2 Samuel 10:17-19 Modern English Version (MEV)
17 When David was informed of this, he assembled all of Israel. They crossed over the Jordan and came to Helam. Aram was drawn up in formation opposite David, and they fought against him. 18 Aram retreated before Israel. David killed seven hundred charioteers, forty thousand horsemen from Aram, and wounded Shobak the commander of the army so that he died there. 19 When all of the kings who were subject to Hadadezer realized that they were being defeated by Israel, they made peace with Israel and became subject to them.
From then on, Aram was fearful of further helping the Ammonites.