2 Samuel 5:22-24
5:22 The Philistines again came up and spread out in the valley of Rephaim.
5:23 So David asked the Lord what he should do. This time the Lord said to him, “Don’t march straight up. Instead, circle around behind them and come against them opposite the trees.
5:24 When you hear the sound of marching in the tops of the trees, act decisively. For at that moment the Lord is going before you to strike down the army of the Philistines.”