David defeated Hadadezer king of Zobah, toward Hamath, as he went to establish his dominion by the river Euphrates.