so David inquired of the LORD, and he answered, "Do not go straight up, but circle around behind them and attack them in front of the balsam trees.
As soon as you hear the sound1 of marching in the tops of the balsam trees, move quickly, because that will mean the LORD has gone out in front2 of you to strike the Philistine army."
References for 2 Samuel 5:24
So David did as the LORD commanded him, and he struck down the Philistines3 all the way from Gibeon4 to Gezer.5
References for 2 Samuel 5:25