Read this passage and open each verse for the full verse feed and commentary tools.
David Becomes King of All Israel
22But after a while the Philistines returned and again spread out across the valley of Rephaim. 23And again David asked the Lord what to do. “Do not attack them straight on,” the Lord replied. “Instead, circle around behind and attack them near the poplar trees. 24When you hear a sound like marching feet in the tops of the poplar trees, be on the alert! That will be the signal that the Lord is moving ahead of you to strike down the Philistine army.” 25So David did what the Lord commanded, and he struck down the Philistines all the way from Gibeon to Gezer.
2 Samuel 5:22-25 (NLT)