Devarim / Deuteronomy 31:7
וַיִּקְרָא מֹשֶׁה לִיהוֹשֻׁעַ וַיֹּאמֶר אֵלָיו לְעֵינֵי כָל־יִשְׂרָאֵל חֲזַק וֶאֱמָץ כִּי אַתָּה תָּבוֹא אֶת־הָעָם הַזֶּה אֶל־הָאָרֶץ אֲשֶׁר נִשְׁבַּע יְהוָה לַאֲבֹתָם לָתֵת לָהֶם וְאַתָּה תַּנְחִילֶנָּה אוֹתָם׃
And Moshe called Yehoshua and said to him before the eyes of all Israel: "Be strong and courageous, for you shall come with this people into the land which the Eternal swore to their fathers to give them, and you shall give it to them as an inheritance.
Pshat פְּשָׁט
Coming in with the people
Rashi: Moshe said: the elders will be with you, everything by their counsel. But the Eternal said "you shall bring": everything depends on you, one leader for a generation. Malbim: Yehoshua will come in together with the people, as an equal, for the land is given because of the oath to the fathers. Chizkuni: speaking before everyone's eyes, Moshe gave the people honour.
How Rashi, Malbim, and Chizkuni explain it
Remez רֶמֶז
A letter and a chant
Minchat Shai: in our verse "come" is written with the letter vav (ו), in verse 31:23 "bring" with the letter yod (י), and this is one of seven such pairs in the Torah. Shem MiShmuel: Moshe (Moses) passed on only what he heard from the Eternal, so why two different words? The chant joins "before the eyes of all Israel" to "be strong": in public be firm, in private humble. Before the people, hear out the elders, but decide by the spirit of the Eternal.
How Minchat Shai and Shem MiShmuel explain it
Drash דְּרָשׁ
One leader and another's children
Talmud, Rabbi Yochanan: Moshe said "you and the elders", and the Eternal "one leader for a generation". Sifrei, Rabbi Natan: Moshe grieved that none of his sons stood in his place. The Eternal said Yehoshua would stand at Elazar's door. Then Moshe took heart and told Yehoshua: the people are still children, do not be strict with them.
How Ein Yaakov and Sifrei explain it
Sod סוֹד
The eyes of all Israel
Agra DeKala: "the eyes of all Israel" are sparks of holiness that fell in the shattering into the seven sefirot of the other side. This is the secret of the seven ancient kings and the seven nations of Canaan that the Eternal drove out before Israel. The words "be strong" mean: strengthen those sparks. That is why it says at once "for you shall come into the land": to enter the land is to raise its sparks.
How Agra DeKala explain it