The cities between Ekron and Gath that the Philistines took from Israel were returned to Israel. Israel recovered the territory controlled by these cities from the Philistines. There was also peace between Israel and the Amorites.