So all the elders of Israel came to the king at Hebron, and David made a covenant with them in Hebron before the LORD; and they anointed David king over Israel, according to the word of the LORD through Samuel.