17When the Philistines heard that they had anointed David king over Israel, all the Philistines went up to seek David; and David heard of it, and went down to the stronghold.
18Now the Philistines had come and spread themselves in the valley of Rephaim.
19David inquired of Yahweh, saying, Shall I go up against the Philistines? will you deliver them into my hand? Yahweh said to David, Go up; for I will certainly deliver the Philistines into your hand.
20David came to Baal-perazim, and David struck them there; and he said, Yahweh has broken my enemies before me, like the breach of waters. Therefore he called the name of that place Baal-perazim.