14
Then Hiram, king of Tyre, sent messengers to David along with cedar timber, stonemasons, and carpenters to build him a palace. In this way David realized that the Lord had placed him on the throne as king of Israel and had blessed by supporting his kingdom for the sake of the Lord's people Israel. David married more wives in Jerusalem, and had more sons and daughters. This is a list of the names of the children he had in Jerusalem: Shammua, Shobab, Nathan, Solomon, Ibhar, Elishua, Elpelet, Nogah, Nepheg, Japhia, Elishama, Beeliada, and Eliphelet.
When the Philistines heard that David had been anointed king over all of Israel, they gathered their whole army to go after him. But David heard they were coming and went out to confront them. The Philistines arrived and raided the valley of Rephaim.
10 David consulted God, asking “Shall I go and attack the Philistines? Will you make me victorious over them?”
“Go ahead,” the Lord told him, “I will make you victorious over them.”
11 So David attacked and defeated them there at Baal-perazim. “God used me to defeat my enemies like a torrent of water that bursts out,” he declared. That's why the place was named Baal-perazim.* Baal-perazim means “the Lord bursts through.” 12 The Philistines had left their gods behind, so David gave orders that they should be burned.
13 However, the Philistines returned and made another raid on the valley. 14 David consulted God again. “Don't make a frontal attack,” God told him. “Instead go around behind them and attack them in front of the balsam trees. 15 As soon as you hear the sound of marching in the tops of the balsam trees, go and attack for the Lord has gone before you to strike down the Philistine army.” 16 So David did what God told him, striking down the Philistine army all the way from Gibeon to Gezer.
17 As a result David's reputation was spread everywhere, and the Lord made all the nations afraid of David.

*14:11 Baal-perazim means “the Lord bursts through.”