All the elders of Israel came to the king at Hebron, and King David made a covenant with them at Hebron in the presence of Yahweh; then they anointed David as king over Israel.