David Defeats the Philistines

17 When the Philistines heard that they had anointed David king over Israel , all the Philistines went up to seek out David ; and when David heard of it, he went down to the stronghold . 18 Now the Philistines came and spread themselves out in the valley of Rephaim . 19 Then David inquired of the Lord , saying , "Shall I go up against the Philistines ? Will You give them into my hand ?" And the Lord said to David , "Go up, for I will certainly give the Philistines into your hand ." 20 So David came to Baal-perazim and defeated them there ; and he said , "The Lord has broken through my enemies before me like the breakthrough of waters ." Therefore e he named e that place Baal-perazim . 21 They abandoned their idols there , so David and his men carried them away. 22 Now the Philistines came up once e again and spread themselves out in the valley of Rephaim .

Matthew Henry's Commentary on 2 Samuel 5:17-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.