Now it came about after this that David defeated the Philistines and subdued (humbled) them, and he took control of Metheg-ammah [the main city] from the hand of the Philistines.
All the people were quarreling throughout the tribes of Israel, saying, “The king rescued us from the hands of our enemies, and he saved us from the hands of the Philistines, but now he has fled out of the land from Absalom.
But Joab and Abishai [Asahel’s brothers] pursued Abner. When the sun was going down, they came to the hill of Ammah, which is in front of Giah on the way to the wilderness of Gibeon.
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.
I have been with you wherever you have gone, and have cut off all your enemies from before you; and I will make you a great name, like that of the great men of the earth.
who by faith [that is, with an enduring trust in God and His promises] subdued kingdoms, administered justice, obtained promised blessings, closed the mouths of lions, [Dan 6]
extinguished the power of [raging] fire, escaped the edge of the sword, out of weakness were made strong, became mighty and unbeatable in battle, putting enemy forces to flight. [Dan 3]
So the Philistines were subdued and they did not come anymore into Israelite territory. And the hand of the Lord was against the Philistines all the days of Samuel.