Then it descended westward to the territory of the Japhletites as far as Lower Beth-horon, then to Gezer and over to the Mediterranean Sea.