The cities that the Philistines had taken from Israel were restored to Israel, from Ekron to Gath, and Israel delivered their territory from the hand of the Philistines. There was peace also between Israel and the Amorites.
We have here a short account of the further good services that Samuel did to Israel. Having parted them from their idols, and brought them home to their God, he had put them into a capacity of receiving further benefits by his ministry. Having prevailed in that, he becomes, in other instances, a great blessing to them; yet, writing it himself, he is brief in the relation.
Commenting on 1 Samuel 7:13-17
And the cities which the Philistines had taken from Israel were restored to Israel,.... We nowhere read that the Israelites went out to war with them, and took these cities from them by besieging and assaulting them; but they made a demand of them after the above victory obtained, by which the Philistines were so intimidated, that they quietly surrendered them to them: from Ekron...
And the cities which the Philistines had taken from Israel were restored to Israel, from Ekron even unto Gath; and the coasts thereof did Israel deliver out of the hands of the Philistines. And there was peace between Israel and the Amorites. (h) Meaning, the Philistines.