Samuel
2 Samuel 5:17BSB·traditional attribution

When the Philistines heard that David had been anointed king over Israel, they all went in search of him; but David learned of this and went down to the stronghold.

Matthew Henry Presbyterian @wholebiblehenry

The particular service for which David was raised up was to save Israel out of the hand of the Philistines, Sa2 3:18. This therefore divine Providence, in the first place, gives him an opportunity of accomplishing. Two great victories obtained over the Philistines we have here an account of, by which David not only balanced the disgrace and retrieved the loss Israel had sustained in...

Commenting on 2 Samuel 5:17-25

John Gill Reformed Baptist @doctorgill

The Philistines also came and spread themselves in the valley of Rephaim. Or "of the giants", as Jos 15:8; which lay to the west of Jerusalem; of which; see Gill on Jos 15:8; the Philistines spreading themselves in it, shows that they were very numerous. ; the Philistines spreading themselves in it, shows that they were very numerous.

Jamieson-Fausset-Brown Reformed @jfbcommentary

HE SMITES THE PHILISTINES. (Sa2 5:17-25) when the Philistines heard that they had anointed David king over Israel--During the civil war between the house of Saul and David, those restless neighbors had remained quiet spectators of the contest. But now, jealous of David, they resolved to attack him before his government was fully established.