It then descended westward to the border of the Japhletites as far as the border of lower Beth-horon, then to Gezer, and ended at the Mediterranean Sea.