1 Samuel 7:14

14 The Philistines had captured many towns between Ekron and Gath. But they had to give all of them back. Israel took back the territories near those towns from the powerful hand of the Philistines. During that time Israel and the Amorites were friendly toward each other.