Bamidbar / Numbers 34:17
אֵלֶּה שְׁמוֹת הָאֲנָשִׁים אֲשֶׁר־יִנְחֲלוּ לָכֶם אֶת־הָאָרֶץ אֶלְעָזָר הַכֹּהֵן וִיהוֹשֻׁעַ בִּן־נוּן׃
"These are the names of the men who shall divide the land to you for inheritance: Elazar (Eleazar) the kohen and Yehoshua (Joshua) the son of Nun.
Pshat פְּשָׁט
They inherit in your place
Rashi: "divide to you" means "for you and in your place." Each prince is a guardian of his tribe: he divides its inheritance among families and men and chooses a fitting portion for each, and what he does is done as if agents did it. Netziv: the heads of the tribes were likened to fathers, who give their children an inheritance as they wish. Therefore even where a doubt arose in valuing the land, there was no concern of robbery.
How Rashi and Haamek Davar explain it
Remez רֶמֶז
Names fine in deeds
Kitzur Ba'al HaTurim: "these are the names of the men" is said twice to say: they were fine in their names and fine in their deeds. Elidad the son of Kislon is Eldad, and a letter yod (י), whose number is ten, was added to his name for prophecy, which has ten names. Rabbeinu Bahya: why are some called princes and others not? Kalev (Caleb) was known as a prince since the time of the spies, the tribe of Shimon (Simeon) did not merit the word "prince" because of Zimri, Binyamin (Benjamin) because of the concubine in Givah. And Elidad is Eldad, the prophet, so there was no need to call him a prince.
How Kitzur Ba'al HaTurim and Rabbeinu Bahya explain it
Drash דְּרָשׁ
The lot that spoke
Midrash Tanchuma: the lot puts an end to quarrels, so the land was divided only by lot. Elazar (Eleazar) the kohen, before the lot was drawn, announced by the spirit of holiness which tribe would receive which place. Yehoshua (Joshua) drew the lot, and the lot itself cried out whose it was.
How Midrash Tanchuma explain it
Sod סוֹד
Each one's share in the Oral Torah
Pri Tzadik: "Moshe received the Torah from Sinai and passed it to Yehoshua" is the Oral Torah. Yehoshua (Joshua) gave the land to Israel as an inheritance and chose for each one his share in the Oral Torah. Therefore the sages said that the book of Yehoshua is the valuation of the Land of Israel. Yehoshua received this power through Elazar looking at him, so it says: "who shall divide the land to you: Elazar the kohen and Yehoshua the son of Nun." And the root of it all is Moshe (Moses), the level of knowledge.
How Pri Tzadik explain it