When Hanun became king of the Ammonites and fought King David with the Syrians and men of Maacah and Tob, they were defeated. Hadadezer brought out the Syrians who were beyond the Euphrates under commander Shobach at Helam. King David gathered all Israel against them, crossing the Jordan and meeting them at Helam. The Syrians fled and were defeated by King David, including 700 chariots, 40,000 horsemen, and Shobach. All kings who were servants to Hadadezer made peace with Israel, and the Syrians were afraid to save the Ammonites anymore.