8When the Philistines learned that David had been anointed king over all of Israel, all of the Philistines invaded to look for David. David heard about it and went out to fight them.
10So David asked God, "Am I to go out against the Philistines? Will you give me victory over them?" "Go out," the LORD replied to him, "and I'll put them right into your hand."
11So David went out to Baal-perazim and defeated the Philistines there. David observed, "Like an overwhelming flood, God has overwhelmed my enemies, using me to do it." That's why that place is called Baal-perazim.
14When David asked God about it, God told him, "Don't directly attack them. Instead, go around them and come up against them opposite those balsam trees.
15When you hear the sound of marching coming from the tops of the balsam trees, then go out to battle, because God will have gone out ahead of you to destroy the Philistine army."