David then defeated Hadadezer, king of Zobah at Hamath, as Hadadezer was traveling to establish his rule by the Euphrates River.