22 Once again the Philistines came up and spread out across the Rephaim Valley.
23 When David asked the Lord, God replied, "Don’t attack them directly. Circle around behind them and come at them from in front of the balsam trees.
24 As soon as you hear the sound of marching in the tops of the trees, then attack, for God has attacked in front of you to defeat the Philistine army."
25 David followed God’s orders exactly, and they defeated the Philistine army from Gibeon all the way to Gezer.