17. When the Philistines heard that they had anointed DAVID king over Israel, all the Philistines went up to seek DAVID, but DAVID heard about it and went down to the stronghold.
18. Now the Philistines had come and spread themselves in the valley of Rephaim.
19. DAVID inquired of The LORD, saying, "Shall I go up against the Philistines? Will you deliver them into my hand?"The LORD said to DAVID, "Go up; for I will certainly deliver the Philistines into your hand."
20. DAVID came to Baal Perazim, and DAVID struck them there. Then he said, "The LORD has broken my enemies before me, like the breach of waters." Therefore he called the name of that place Baal Perazim.
21. They left their images there; and DAVID and his men took them away.
22. The Philistines came up yet again, and spread themselves in the valley of Rephaim.
23. When DAVID inquired of The LORD, he said, "You shall not go up. Circle around behind them, and attack them in front of the mulberry trees.
24. When you hear the sound of marching in the tops of the mulberry trees, then stir yourself up; for then the LORD has gone out before you to strike the army of the Philistines."
25. DAVID did so, as the LORD commanded him, and struck the Philistines all the way from Geba to Gezer.