5 You are to divide the land into seven parts. Judah is to remain in its territory on the south and the tribes of Joseph in their territory on the north.

Read Joshua 18:5 Using Other Translations

And they shall divide it into seven parts: Judah shall abide in their coast on the south, and the house of Joseph shall abide in their coasts on the north.
They shall divide it into seven portions. Judah shall continue in his territory on the south, and the house of Joseph shall continue in their territory on the north.
Let them divide the land into seven sections, excluding Judah’s territory in the south and Joseph’s territory in the north.