David in Jerusalem
14 Now King Hiram of Tyre sent men with cedar trees to David. With them came men who worked with stone and wood. They came to build a house for him. 2 David understood that the Lord had made him to be king of Israel. He knew that his nation was very honored because of God’s people Israel.
3 Then David took more wives at Jerusalem. He became the father of more sons and daughters. 4 The names of the children born to him in Jerusalem are Shammua, Shobab, Nathan, Solomon, 5 Ibhar, Elishua, Elpelet, 6 Nogah, Nepheg, Japhia, 7 Elishama, Beeliada and Eliphelet.
Battle with the Philistines
8 The Philistines heard that David had been chosen as king of all Israel. So they went up to look for him. David heard of it and went out against them. 9 Now the Philistines had come to fight a surprise battle in the valley of Rephaim. 10 David asked God, “Should I go fight against the Philistines? Will You give them to me?” And the Lord said to him, “Go, for I will give them to you.” 11 So they came up to Baal-perazim, and David won the battle against them there. David said, “By my hand God has broken through those who hate me, like the breaking through of a flood.” So they gave that place the name Baal-perazim. 12 The Philistines left their gods there. So David had them burned with fire.
13 The Philistines fought another surprise battle in the valley. 14 So David asked God again what he should do. God said to him, “Do not go after them. Go around behind them, and come upon them in front of the balsam trees. 15 When you hear the sound of their steps in the tops of the balsam trees, then go out to battle. For God will have gone out before you to destroy the Philistine army.” 16 David did just as God had told him, and they destroyed the Philistine army from Gibeon as far as Gezer. 17 Then the name of David became known in all the lands. The Lord brought the fear of him upon all the nations.