When all the elders of Israel had come to King David at Hebron, he made a covenant with them at Hebron before the LORD, and they anointed David king over Israel, as the LORD had promised through Samuel.