2 Samuel 5:18-22 New American Bible, Revised Edition (NABRE)

18. Meanwhile the Philistines had come and deployed themselves in the valley of Rephaim.

19. David inquired of the Lord, “Shall I attack the Philistines, and will you deliver them into my power?” The Lord answered David: Attack, for I will surely deliver the Philistines into your power.

20. So David went to Baal-perazim, and he defeated them there. He said, “The Lord has broken through my enemies before me just as water breaks through a dam.” Therefore that place was called Baal-perazim.

21. The Philistines abandoned their gods there, and David and his men carried them away.

22. Once again the Philistines came up and deployed themselves in the valley of Rephaim,

2 Samuel 5