When the Philistines heard that David had been anointed king over all Israel, all the Philistines went up to search for David. But David heard of it and went out against them.
And David inquired of God, "Shall I go up against the Philistines? Will you give them into my hand?" And the LORD said to him, "Go up, and I will give them into your hand."
And he went up to Baal-perazim, and David struck them down there. And David said, "God has broken through my enemies by my hand, like a bursting flood." Therefore the name of that place is called Baal-perazim.
And when you hear the sound of marching in the tops of the balsam trees, then go out to battle, for God has gone out before you to strike down the army of the Philistines."