New American Standard Bible (NASB)
2 Samuel 5
19 Then David inquired of the Lord, saying, "Shall I go up against the Philistines? Will You give them into my hand?" And the Lord said to David, "Go up, for I will certainly give the Philistines into your hand."
20 So David came to Baal-perazim and 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 Baal-perazim.
21 They abandoned their idols there, so David and his men carried them away.
22 Now the Philistines came up once again and spread themselves out in the valley of Rephaim.
23 When 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 balsam trees.
24 It shall be, when you hear the sound of marching in the tops of the balsam trees, then you shall act promptly, for then 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 Geba as far as Gezer.
2 Samuel 6
1 Now David again gathered all the chosen men of Israel, thirty thousand.
2 And David arose and went with all the people who were with him to Baale-judah, to bring up from there the ark of God which is called by the Name, the very name of the Lord of hosts who is enthroned above the cherubim.
3 They placed the ark of God on a new cart that they might bring it from the house of Abinadab which was on the hill; and Uzzah and Ahio, the sons of Abinadab, were leading the new cart.
4 So they brought it with the ark of God from the house of Abinadab, which was on the hill; and Ahio was walking ahead of the ark.