So all of the elders of Israel came to the king at Hebron, and King David made a covenant with them before the Lord at Hebron. They anointed David king over Israel.