When all the elders of Israel had come to King David at Hebron, the king made a compact with them at Hebron before the Lord, and they anointed David king over Israel.