14:8 When the Philistines heard that David had been anointed king of all Israel, all the Philistines marched up to confront him. When David heard about it, he marched out against them. 14:9 Now the Philistines had come and raided the Valley of Rephaim. 14:10 David asked God, “Should I march up against the Philistines? Will you hand them over to me?” The Lord said to him, “March up! I will hand them over to you!” 14:11 So they marched against Baal Perazim and David defeated them there. David said, “Using me as his instrument, God has burst out against my enemies like water bursts out.” So that place is called Baal Perazim. 14:12 The Philistines left their idols there, so David ordered that they be burned.
14:13 The Philistines again raided the valley. 14:14 So David again asked God what he should do. This time God told him, “Don’t march up after them; circle around them and come against them in front of the trees. 14:15 When you hear the sound of marching in the tops of the trees, then attack. For at that moment the Lord is going before you to strike down the army of the Philistines.” 14:16 David did just as God commanded him, and they struck down the Philistine army from Gibeon to Gezer.
14:17 So David became famous in all the lands; the Lord caused all the nations to fear him.