Israel subdues the Philistines
Israel subdued the Philistines during the days of Samuel, and also lived at peace with the Amorites.
Key passages
1 Sa 7:13–14

So the Philistines were subdued and they did not come into the territory of Israel again, and the hand of Yahweh was against the Philistines all the days of Samuel. The towns which the Philistines had taken from Israel were returned to Israel from Ekron to Gath, and Israel delivered their …