Now when the Philistines heard that they had anointed David king over Israel, all the Philistines went up to search for David. And David heard of it and went down to the stronghold. The Philistines also went and deployed themselves in the Valley of Rephaim. So David inquired of the LORD, saying, “Shall I go up against the Philistines? Will You deliver them into my hand?”
And the LORD said to David, “Go up, for I will doubtless deliver the Philistines into your hand.”
So David went to Baal Perazim, and David defeated them there; and he said, “The LORD has broken through my enemies before me, like a breakthrough of water.” Therefore he called the name of that place Baal Perazim.