2 Samuel 5:23-24
23-24This time God said, "Don't attack them head-on. Instead, circle around behind them and ambush them from the grove of sacred trees. When you hear the sound of shuffling in the trees, get ready to move out. It's a signal that God is going ahead of you to smash the Philistine camp."
25David did exactly what God told him. He routed the Philistines all the way from Gibeon to Gezer.