and I promise to lead them out of their troubles. I will give them a land rich with milk and honey, where the Canaanites, Hittites, Amorites, Perizzites, Hivites, and Jebusites now live.
The Jebusites lived in Jerusalem, and the people of the Judah tribe could not capture the city and get rid of them. That's why Jebusites still live in Jerusalem along with the people of Judah.
and up through Hinnom Valley on the land sloping south from Jerusalem. The city of Jerusalem itself belonged to the Jebusites. Next, the border went up to the top of the mountain on the west side of Hinnom Valley and at the north end of Rephaim Valley.
The Jebusites were living in Jerusalem, and the Benjamin tribe did not defeat them or capture the town. That's why Jebusites still live in Jerusalem along with the people of Benjamin.