11 (A)Then Hiram king of Tyre sent messengers to David with cedar trees and carpenters and stonemasons; and (B)they built a house for David. 12 And David realized that the Lord had established him as king over Israel, and that He had exalted his kingdom for the sake of His people Israel.
13 Meanwhile (C)David took more concubines and wives from Jerusalem, after he came from Hebron; and more sons and daughters were born to David. 14 Now (D)these are the names of those who were born to him in Jerusalem: Shammua, Shobab, Nathan, Solomon, 15 Ibhar, Elishua, Nepheg, Japhia, 16 Elishama, Eliada and Eliphelet.

War with the Philistines

17 When the Philistines heard that they had anointed David king over Israel, (E)all the Philistines went up to seek out David; and when David heard of it, he went down to the (F)stronghold. 18 Now the Philistines came and spread themselves out in (G)the valley of Rephaim. 19 Then (H)David inquired of the Lord, saying, “Shall I go up against the Philistines? Will You give them into my hand?” And (I)the Lord said to David, “Go up, for I will certainly give the Philistines into your hand.” 20 So David came to (J)Baal-perazim and (a)defeated them there; and he said, “The Lord has broken through my enemies before me like the breakthrough of waters.” Therefore he named that place (b)Baal-perazim. 21 They abandoned their idols there, so (K)David and his men carried them away.
22 Now (L)the Philistines came up once again and spread themselves out in the valley of Rephaim. 23 When (M)David inquired of the Lord, He said, “You shall not go directly up; circle around behind them and come at them in front of the (c)balsam trees. 24 It shall be, when (N)you hear the sound of marching in the tops of the (d)balsam trees, then you shall act promptly, for then (O)the Lord will have gone out before you to strike the army of the Philistines.” 25 Then David did so, just as the Lord had commanded him, and struck down the Philistines from (e)(P)Geba (f)as far as (Q)Gezer.

Footnotes:

a. 2 Samuel 5:20: ['Lit ', David smote]
b. 2 Samuel 5:20: ['I.e. the master of breakthrough']
c. 2 Samuel 5:23: ['Or ', baka-shrubs]
d. 2 Samuel 5:24: ['Or ', baka-shrubs]
e. 2 Samuel 5:25: ['In 1 Chr 14:16, ', Gibeon]
f. 2 Samuel 5:25: ['Lit ', until you are coming to]