A walled city that was located on the boundary between Judah and Benjamin. David conquered it, and afterward it became known as the "city of David," or ancient Jerusalem. The people who lived there were called Jebusites (Joshua 18:16). They were one of several groups collectively known as Canaanites (Genesis 10:15–16).
God repeatedly promised the land of the Jebusites and their neighbors to the Israelites (Exodus 3:8; 13:5; 23:23; 33:2; 34:11; Numbers 13:29; Deuteronomy 7:1; 20:17). This promise was partly fulfilled early in the campaign led by Joshua (Joshua 3:10; 12:8; 18:16; compare 24:11). The Bible says that the men of Judah fought against Jerusalem and took it (Joshua 18:28). "The Benjamites, however, failed to drive out the Jebusites living in Jerusalem. So to this day the Jebusites live there among the Benjamites" (Judges 1:21). It seems the city was captured by the men of Judah, but its people were not destroyed and they later moved back to the site.