So the king arose and sat in the gate. When they told all the troops saying, “See, the king is sitting at the gate,” all the troops presented themselves before the king. Meanwhile, Israel had fled each man to his tent.
But Joab and Abishai continued pursuing Abner. As the sun was setting, they reached the hill of Ammah, which faces Giah on the road to the wilderness of Gibeon.
Now when the Philistines heard that David was anointed king over Israel, all the Philistines marched up searching for David. When David heard about it, he went down to the stronghold.
I have been with you wherever you went, and have cut off all your enemies from before you; and I will make your name as great as the greatest on earth.
So the Philistines were subdued and they did not invade the border of Israel anymore. The hand of Adonai was against the Philistines all the days of Samuel.