Toi was king of the city of Hamath. He heard that David had defeated the whole army of Hadadezer king of Zobah.