Then it went down westward to the territory of the Japhletites, to the territory of Lower Beth-horon, on to Gezer, and ended at the sea.