So all the elders of Israel came to the king at Hebron, and King David made an agreement with them at Hebron before Yahweh, and they anointed David king over Israel.
In context
1All the tribes of Israel came to David at Hebron and said, “We are your own flesh and blood. 2Even in the past, when Saul was king over us, you were the one who led Israel out to battle and brought them back. Yahweh said to you, ‘You will shepherd my people Israel, and you will be ruler over Israel.’” 3So all the elders of Israel came to the king at Hebron, and King David made an agreement with them at Hebron before Yahweh, and they anointed David king over Israel. 4David was thirty years old when he became king, and he reigned forty years. 5In Hebron he reigned over Judah for seven years and six months, and in Jerusalem he reigned thirty-three years over all Israel and Judah.