18 and the Philistines have come, and are spread out in the valley of Rephaim. 19 And David asketh of Jehovah, saying, 'Do I go up unto the Philistines? dost Thou give them into my hand?' And Jehovah saith unto David, 'Go up, for I certainly give the Philistines into thy hand.' 20 And David cometh in to Baal-Perazim, and David smiteth them there, and saith, 'Jehovah hath broken forth 'on' mine enemies before me, as the breaking forth of waters;' therefore he hath called the name of that place Baal-Perazim. 21 And they forsake there their idols, and David and his men lift them up. 22 And the Philistines add again to come up, and are spread out in the valley of Rephaim,
Matthew Henry's Commentary on 2 Samuel 5:18-22
Commentary on 2 Samuel 5:17-25
(Read 2 Samuel 5:17-25)
The Philistines considered not that David had the presence of God with him, which Saul had forfeited and lost. The kingdom of the Messiah, as soon as it was set up in the world, was thus attacked by the powers of darkness. The heathen raged, and the kings of the earth set themselves to oppose it; but all in vain, Acts 2:2.