 All the elders of Israel came to the king at Hebron, and David made a solemn agreement with them before the Lord. There they anointed David as king of Israel, as the Lord had promised through Samuel. 