1 Now Hiram king of Tyre sent messengers to David, along with cedar logs, stonemasons and carpenters to build a palace for him.
2 And David knew that the LORD had established him as king over Israel and that his kingdom had been highly exalted for the sake of his people Israel.
3 In Jerusalem David took more wives and became the father of more sons and daughters.
4 These are the names of the children born to him there: Shammua, Shobab, Nathan, Solomon,
5 Ibhar, Elishua, Elpelet,
6 Nogah, Nepheg, Japhia,
7 Elishama, Beeliada [^1] and Eliphelet.
8 When the Philistines heard that David had been anointed king over all Israel, they went up in full force to search for him, but David heard about it and went out to meet them.
9 Now the Philistines had come and raided the Valley of Rephaim;
10 so David inquired of God: "Shall I go and attack the Philistines? Will you deliver them into my hands?" The LORD answered him, "Go, I will deliver them into your hands."
11 So David and his men went up to Baal Perazim, and there he defeated them. He said, "As waters break out, God has broken out against my enemies by my hand." So that place was called Baal Perazim. [^2]
12 The Philistines had abandoned their gods there, and David gave orders to burn them in the fire.
13 Once more the Philistines raided the valley;
14 so David inquired of God again, and God answered him, "Do not go directly after them, but circle around them and attack them in front of the poplar trees.
15 As soon as you hear the sound of marching in the tops of the poplar trees, move out to battle, because that will mean God has gone out in front of you to strike the Philistine army."
16 So David did as God commanded him, and they struck down the Philistine army, all the way from Gibeon to Gezer.
17 So David's fame spread throughout every land, and the LORD made all the nations fear him.