Hiram king of the city of Tyre sent messengers to David. He also sent cedar logs, bricklayers, and carpenters to build a palace for David.
Then David knew that the Lord really had made him king of Israel and that he had made his kingdom great. The Lord did this because he loved his people Israel.
David married more women in Jerusalem and had more sons and daughters.
These are the names of David's children born in Jerusalem: Shammua, Shobab, Nathan, Solomon,
Ibhar, Elishua, Elpelet,
Nogah, Nepheg, Japhia,
Elishama, Beeliada, and Eliphelet.
When the Philistines heard that David had been made king of all Israel, they went to look for him. But David heard about it and went out to fight them.
The Philistines had attacked and robbed the people in the Valley of Rephaim.
David asked God, "Should I go and attack the Philistines? Will you hand them over to me?" The Lord answered him, "Go, I will hand them over to you."
So David and his men went up to the town of Baal Perazim and defeated the Philistines. David said, "Like a flood of water, God has broken through my enemies by using me." So that place was named Baal Perazim.
The Philistines had left their idols there, so David ordered his men to burn them.
Soon the Philistines attacked the people in the valley again.
David prayed to God again, and God answered him, saying, "Don't attack the Philistines from the front. Instead, go around them and attack them in front of the balsam trees.
When you hear the sound of marching in the tops of the balsam trees, then attack. I, God, will have gone out before you to defeat the Philistine army."
David did as God commanded, and he and his men defeated the Philistine army all the way from Gibeon to Gezer.
So David became famous in all the countries, and the Lord made all nations afraid of him.