All the leaders of Israel met with King David at Hebron, and the king made a treaty with them in the presence of God. And so they anointed David king over Israel.