So all the Israeli elders came to David at Hebron. And David made a sacred agreement with them while Yahweh was listening. They anointed him with olive oil to set him apart to be the king of the Israeli people. That is what Yahweh had previously told the prophet Samuel would happen.