Then all Israel gathered before David at Hebron and told him, “We are your own flesh and blood.
In the past, even when Saul was king, you were the one who really led the forces of Israel. And the LORD your God told you, ‘You will be the shepherd of my people Israel. You will be the leader of my people Israel.’”
References for 1 Chronicles 11:2
So there at Hebron, David made a covenant before the LORD with all the elders of Israel. And they anointed him king of Israel, just as the LORD had promised through Samuel.
Then David and all Israel went to Jerusalem (or Jebus, as it used to be called), where the Jebusites, the original inhabitants of the land, were living.