Devarim (Deuteronomy) Chapter 31

7And Moses called Joshua and said to him in the presence of all Israel, "Be strong and courageous! For you shall come with this people to the land which the Lord swore to their forefathers to give them. And you shall apportion it to them as an inheritance.   זוַיִּקְרָ֨א משֶׁ֜ה לִֽיהוֹשֻׁ֗עַ וַיֹּ֨אמֶר אֵלָ֜יו לְעֵינֵ֣י כָל־יִשְׂרָאֵל֘ חֲזַ֣ק וֶֽאֱמָץ֒ כִּ֣י אַתָּ֗ה תָּבוֹא֙ אֶת־הָעָ֣ם הַזֶּ֔ה אֶל־הָאָ֕רֶץ אֲשֶׁ֨ר נִשְׁבַּ֧ע יְהֹוָ֛ה לַֽאֲבֹתָ֖ם לָתֵ֣ת לָהֶ֑ם וְאַתָּ֖ה תַּנְחִילֶ֥נָּה אוֹתָֽם:
for you shall come with this people: Heb. כִּי אַתָּה תָּבוֹא אֶת-הָעָם הַזֶּה [as the Targum renders:] “For you shall come with this people,” [hence, the אֶת here means “with.” Accordingly, Moses’ statement of leadership role to Joshua can be understood as follows]: Moses said to Joshua, “The elders of the generation will be with you, [for] everything should be done according to their opinion and counsel.” In contrast, however, the Holy One, Blessed is He, said to Joshua, “For you shall bring (תָּבִיא) the children of Israel to the land which I have sworn to them” (verse 23). [God’s statement of leadership role to Joshua here means:] “You shall bring them [even if it is] against their will! Everything depends [only] upon you; [if necessary,] you must take a rod and beat them over their heads! There can be [only] one leader for a generation, not two leaders for a generation.”- [Sanh. . 8a]   כִּי אַתָּה תָּבוֹא אֶת־הָעָם הַזֶּה: "אֲרֵי אַתְּ תֵּעוּל עִם עַמָּא הָדֵין": מֹשֶׁה אָמַר לוֹ לִיהוֹשֻׁעַ זְקֵנִים שֶׁבַּדּוֹר יִהְיוּ עִמְּךָ, הַכֹּל לְפִי דַעְתָּן וַעֲצָתָן, אֲבָל הַקָּדוֹשׁ בָּרוּךְ הוּא אָמַר לִיהוֹשֻׁעַ "כִּי אַתָּה תָּבִיא אֶת בְּנֵי יִשְׂרָאֵל אֶל הָאָרֶץ אֲשֶׁר נִשְׁבַּעְתִּי לָהֶם" — תָּבִיא עַל כָּרְחָם, הַכֹּל תָּלוּי בְּךָ, טֹל מַקֵּל וְהַךְ עַל קָדְקֳדָן, דַּבָּר אֶחָד לְדוֹר וְלֹא שְׁנֵי דַבָּרִים לְדוֹר (סנהדרין ח'):
8The Lord He is the One Who goes before you; He will be with you; He will neither fail you, nor forsake you. Do not fear, and do not be dismayed."   חוַֽיהֹוָ֞ה ה֣וּא | הַֽהֹלֵ֣ךְ לְפָנֶ֗יךָ ה֚וּא יִֽהְיֶ֣ה עִמָּ֔ךְ לֹ֥א יַרְפְּךָ֖ וְלֹ֥א יַֽעַזְבֶ֑ךָּ לֹ֥א תִירָ֖א וְלֹ֥א תֵחָֽת:
9Then Moses wrote this Torah, and gave it to the priests, the descendants of Levi, who carried the ark of the covenant of the Lord, and to all the elders of Israel.   טוַיִּכְתֹּ֣ב משֶׁה֘ אֶת־הַתּוֹרָ֣ה הַזֹּאת֒ וַיִּתְּנָ֗הּ אֶל־הַכֹּֽהֲנִים֙ בְּנֵ֣י לֵוִ֔י הַנֹּ֣שְׂאִ֔ים אֶת־אֲר֖וֹן בְּרִ֣ית יְהֹוָ֑ה וְאֶל־כָּל־זִקְנֵ֖י יִשְׂרָאֵֽל:
And Moses then wrote [this Torah] and gave it [to the kohanim]: When it was entirely completed, he gave it to the members of his tribe [i.e., Levi. The verse here is referring to the entire Torah as we know it. Compare Rashi on verse 11].   וַיִּכְתֹּב משֶׁה וַיִּתְּנָהּ: כְּשֶׁנִּגְמְרָה כֻּלָּהּ נְתָנָהּ לִבְנֵי שִׁבְטוֹ (עי' ספרי דברים ל"ד):