Read Joshua 15:8 Using Other Translations
And the border went up by the valley of the son of Hinnom unto the south side of the Jebusite; the same is Jerusalem: and the border went up to the top of the mountain that lieth before the valley of Hinnom westward, which is at the end of the valley of the giants northward:
Then the boundary goes up by the Valley of the Son of Hinnom at the southern shoulder of the Jebusite (that is, Jerusalem). And the boundary goes up to the top of the mountain that lies over against the Valley of Hinnom, on the west, at the northern end of the Valley of Rephaim.
The boundary then passed through the valley of Ben-Hinnom, along the southern slopes of the Jebusites, where the city of Jerusalem is located. Then it went west to the top of the mountain above the valley of Hinnom, and on up to the northern end of the valley of Rephaim.