10David continued to grow more powerful because the LORD God of Armies was with him.
11Then King Hiram of Tyre sent messengers to David, along with cedarwood, carpenters, and stonemasons. They built a palace for David. 12So David realized that the LORD had established him as king of Israel and made his kingship famous for the sake of Israel, the LORD's people.
13David married more concubines and wives from Jerusalem after he had come there from Hebron, and he fathered more sons and daughters. 14These are the names of the children born to him in Jerusalem: Shammua, Shobab, Nathan, Solomon, 15Ibhar, Elishua, Nepheg, Japhia, 16Elishama, Eliada, and Eliphelet.
17When the Philistines heard that David had been anointed king of Israel, all of them came to attack David. But David heard about it and went to the fortress. 18The Philistines had come and overrun the valley of Rephaim. 19David asked the LORD, "Should I attack the Philistines? Will you hand them over to me?" The LORD answered David, "Attack! I will certainly hand the Philistines over to you." 20So David went to Baal Perazim and defeated the Philistines there. He said, "The LORD has overwhelmed my enemies in front of me like an overwhelming flood." That is why that place is called Baal Perazim [The Lord Overwhelms]. 21The Philistines left their idols there, so David and his men carried the idols away.
22The Philistines again attacked and overran the valley of Rephaim. 23David asked the LORD, and he answered, "Don't attack now, but circle around behind them, and come at them in front of the balsam trees. 24When you hear the sound of marching in the tops of the balsam trees, act immediately because the LORD has gone ahead of you to defeat the Philistine army." 25David did as the LORD ordered him and defeated the Philistines from Geba to Gezer.