David Becomes King of Israel and Judah
1Then all the tribes of Israel came to David at Hebron and said to him, “We are your own flesh and blood. 2In the past, even when Saul was still our king, you led the people of Israel in battle, and the LORD promised you that you would lead his people and be their ruler.” 3So all the leaders of Israel came to King David at Hebron. He made a sacred alliance with them, they anointed him, and he became king of Israel. 4David was thirty years old when he became king, and he ruled for forty years. 5He ruled in Hebron over Judah for seven and a half years, and in Jerusalem over all Israel and Judah for 33 years.
6The time came when King David and his men set out to attack Jerusalem. The Jebusites, who lived there, thought that David would not be able to conquer the city, and so they said to him, “You will never get in here; even the blind and the crippled could keep you out.” 7(But David did capture their fortress of Zion, and it became known as “David's City”.)
8That day David said to his men, “Does anybody here hate the Jebusites as much as I do? Enough to kill them? Then go up through the water tunnel and attack those poor blind cripples.” (That is why it is said, “The blind and the crippled cannot enter the LORD's house.”)
9After capturing the fortress, David lived in it and named it “David's City”. He built the city round it, starting at the place where land was filled in on the east side of the hill. 10He grew stronger all the time, because the LORD God Almighty was with him.
11King Hiram of Tyre sent a trade mission to David; he provided him with cedar logs and with carpenters and stonemasons to build a palace. 12And so David realized that the LORD had established him as king of Israel and was making his kingdom prosperous for the sake of his people.
13After moving from Hebron to Jerusalem, David took more concubines and wives, and had more sons and daughters. 14The following children were born to him in Jerusalem: Shammua, Shobab, Nathan, Solomon, 15Ibhar, Elishua, Nepheg, Japhia, 16Elishama, Eliada, and Eliphelet.
Victory over the Philistines
17The Philistines were told that David had been made king of Israel, so their army set out to capture him. When David heard of it, he went down to a fortified place. 18The Philistines arrived at the Valley of Rephaim and occupied it. 19David asked the LORD, “Shall I attack the Philistines? Will you give me the victory?”
“Yes, attack!” the LORD answered. “I will give you the victory!”
20So David went to Baal Perazim and there he defeated the Philistines. He said, “The LORD has broken through my enemies like a flood.” And so that place is called Baal Perazim. 21When the Philistines fled, they left their idols behind, and David and his men carried them away.
22Then the Philistines went back to the Valley of Rephaim and occupied it again. 23Once more David consulted the LORD, who answered, “Don't attack them from here, but go round and get ready to attack them from the other side, near the balsam trees. 24When you hear the sound of marching in the treetops, then attack because I will be marching ahead of you to defeat the Philistine army.” 25David did what the LORD had commanded, and was able to drive the Philistines back from Geba all the way to Gezer.