1All of the tribes of Israel came to see David at Hebron. They said, "We are your own flesh and blood. 2In the past, Saul was our king. But you led the men of Israel on their military campaigns. And the Lord said to you, 'You will be the shepherd over my people Israel. You will become their ruler.' "

3All of the elders of Israel came to see King David at Hebron. There the king made a covenant with them in the sight of the Lord. They anointed David as king over Israel.

4David was 30 years old when he became king. He ruled for 40 years. 5In Hebron he ruled over Judah for seven and a half years. In Jerusalem he ruled over all of Israel and Judah for 33 years.

David Captures Jerusalem

6The king and his men marched to Jerusalem. They went to attack the Jebusites who lived there.

The Jebusites said to David, "You won't get in here. Even blind people and those who are disabled can keep you from coming in." They thought, "David can't get in here."

7But David captured the fort of Zion. It became known as the City of David.

8On that day David said, "Anyone who wins the battle over the Jebusites will have to crawl through the water tunnel to get into the city. That's the only way he can reach those 'disabled and blind' enemies of mine." That's why people say, "Those who are 'blind and disabled' won't enter David's palace."

9David moved into the fort. He called it the City of David. He built up the area around the fort. He filled in the low places. He started at the bottom and worked his way up. 10David became more and more powerful. That's because the Lord God who rules over all was with him.

11Hiram was king of Tyre. He sent messengers to David. He sent cedar logs along with them. He also sent skilled workers. They worked with wood and stone. They built a palace for David.

12David knew that the Lord had made his position as king secure. He knew that he had made him king over the whole nation of Israel. He knew that the Lord had greatly honored his kingdom. The Lord had done it because the Israelites were his people.

13After David left Hebron, he got more concubines and wives in Jerusalem. More sons and daughters were born to him there. 14Here is a list of the children who were born to him in Jerusalem. Their names were Shammua, Shobab, Nathan, Solomon, 15Ibhar, Elishua, Nepheg, Japhia, 16Elishama, Eliada and Eliphelet.

David Wins the Battle Over the Philistines

17The Philistines heard that David had been anointed king over Israel. So their whole army went to look for him. But David heard about it. He went down to his usual place of safety. 18The Philistines had come and spread out in the Valley of Rephaim.

19So David asked the Lord for advice. He said, "Should I go and attack the Philistines? Will you hand them over to me?"

The Lord answered him, "Go. You can be sure that I will hand the Philistines over to you."

20So David went to Baal Perazim. There he won the battle over the Philistines. He said, "The Lord has broken through against my enemies when I've attacked them, just as water breaks through a dam." That's why the place was called Baal Perazim. 21The Philistines left the statues of their gods there. So David and his men carried the statues off.

22Once more the Philistines came up. They spread out in the Valley of Rephaim.

23So David asked the Lord for advice. The Lord answered, "Do not go straight up. Instead, circle around behind them. Attack them in front of the balsam trees. 24Listen for the sound of marching in the tops of the trees. Then move quickly. The sound will mean that I have gone out in front of you. I will strike down the Philistine army."

25So David did just as the Lord had commanded him. He struck down the Philistines. He struck them down from Gibeon all the way to Gezer.