According to the Bible , they ruled the five city-states (the "Philistine Pentapolis") of Gaza , Ashkelon , Ashdod , Ekron and Gath , from Wadi Gaza in the south to the Yarqon River in the north, but with no fixed border to the east.