1 Samuel 7:13

13 The Philistines learned their lesson and stayed home - no more border crossings. God was hard on the Philistines all through Samuel's lifetime.

1 Samuel 7:13 Meaning and Commentary

1 Samuel 7:13

So the Philistines were subdued
Not that their country was conquered, or they made subject and become tributaries to Israel; but they were so humbled, as not to attempt to give the people of Israel any further trouble and distress, who were now delivered from their oppression and tyranny:

and came no more into the coast of Israel;
at this time they did not gather together their forces dispersed, nor raise and bring a new army into the land of Israel; they contented themselves with placing garrisons on the coast, but did not attempt to enter and invade them any more; that is, for a long time, even until Samuel was grown old, and the people would have a king, and had one, which offended the Lord, and then he suffered them to be distressed by them again; but while Samuel was alone governor they came no more, though they did quickly after Saul was made king, as it follows:

the hand of the Lord was against the Philistines all the days of
Samuel;
not all the days of his life, but all the days of his sole government, which restrained them from making incursions into the land of Israel; and indeed in later times, when they did come forth to make war with them, the battle was against them during the times of Samuel.

1 Samuel 7:13 In-Context

11 Israel poured out of Mizpah and gave chase, killing Philistines right and left, to a point just beyond Beth Car.
12 Samuel took a single rock and set it upright between Mizpah and Shen. He named it "Ebenezer" (Rock of Help), saying, "This marks the place where God helped us."
13 The Philistines learned their lesson and stayed home - no more border crossings. God was hard on the Philistines all through Samuel's lifetime.
14 All the cities from Ekron to Gath that the Philistines had taken from Israel were restored. Israel also freed the surrounding countryside from Philistine control. And there was peace between Israel and the Amorites.
15 Samuel gave solid leadership to Israel his entire life.