It then descended westward to Japhletite territory, as far as the territory of lower Beth Horon and Gezer, and ended at the sea.