All the leaders of Israel came to King David at the town of Hebron. David made an agreement with them in Hebron before the Lord. The leaders anointed David. That made him king over Israel. The Lord had promised through Samuel that this would happen.
I let you take his family and his wives, and I made you king of Israel and Judah. As if that had not been enough, I would have given you more and more.