2 Samuel 5:17-21
2 Samuel 5:17-21 AMP
When the Philistines heard that David had been anointed king over Israel, all the Philistines went up to look for him, but he heard about it and went down to the stronghold. Now the Philistines had come and spread out [for battle] in the Valley of Rephaim. David inquired of the LORD, saying, “Shall I go up against the Philistines? Will You hand them over to me?” And the LORD said to David, “Go up, for I will certainly hand them over to you.” So David came to Baal-perazim, and he defeated them there, and said, “The LORD has broken through my enemies before me, like a breakthrough of water.” So he named that place Baal-perazim (master of breakthroughs). The Philistines abandoned their [pagan] idols there, so David and his men took them away [to be burned].