(מד) וַיָּבֹ֣א מֹשֶׁ֗ה וַיְדַבֵּ֛ר אֶת־כָּל־דִּבְרֵ֥י הַשִּׁירָֽה־הַזֹּ֖את בְּאָזְנֵ֣י הָעָ֑ם ה֖וּא וְהוֹשֵׁ֥עַ בִּן־נֽוּן׃(מה) וַיְכַ֣ל מֹשֶׁ֗ה לְדַבֵּ֛ר אֶת־כָּל־הַדְּבָרִ֥ים הָאֵ֖לֶּה אֶל־כָּל־יִשְׂרָאֵֽל׃(מו) וַיֹּ֤אמֶר אֲלֵהֶם֙ שִׂ֣ימוּ לְבַבְכֶ֔ם לְכָל־הַדְּבָרִ֔ים אֲשֶׁ֧ר אָנֹכִ֛י מֵעִ֥יד בָּכֶ֖ם הַיּ֑וֹם אֲשֶׁ֤ר תְּצַוֻּם֙ אֶת־בְּנֵיכֶ֔ם לִשְׁמֹ֣ר לַעֲשׂ֔וֹת אֶת־כָּל־דִּבְרֵ֖י הַתּוֹרָ֥ה הַזֹּֽאת׃(מז) כִּ֠י לֹֽא־דָבָ֨ר רֵ֥ק הוּא֙ מִכֶּ֔ם כִּי־ה֖וּא חַיֵּיכֶ֑ם וּבַדָּבָ֣ר הַזֶּ֗ה תַּאֲרִ֤יכוּ יָמִים֙ עַל־הָ֣אֲדָמָ֔ה אֲשֶׁ֨ר אַתֶּ֜ם עֹבְרִ֧ים אֶת־הַיַּרְדֵּ֛ן שָׁ֖מָּה לְרִשְׁתָּֽהּ׃ (פ)(מח) וַיְדַבֵּ֤ר יהוה אֶל־מֹשֶׁ֔ה בְּעֶ֛צֶם הַיּ֥וֹם הַזֶּ֖ה לֵאמֹֽר׃(מט) עֲלֵ֡ה אֶל־הַר֩ הָעֲבָרִ֨ים הַזֶּ֜ה הַר־נְב֗וֹ אֲשֶׁר֙ בְּאֶ֣רֶץ מוֹאָ֔ב אֲשֶׁ֖ר עַל־פְּנֵ֣י יְרֵח֑וֹ וּרְאֵה֙ אֶת־אֶ֣רֶץ כְּנַ֔עַן אֲשֶׁ֨ר אֲנִ֥י נֹתֵ֛ן לִבְנֵ֥י יִשְׂרָאֵ֖ל לַאֲחֻזָּֽה׃(נ) וּמֻ֗ת בָּהָר֙ אֲשֶׁ֤ר אַתָּה֙ עֹלֶ֣ה שָׁ֔מָּה וְהֵאָסֵ֖ף אֶל־עַמֶּ֑יךָ כַּֽאֲשֶׁר־מֵ֞ת אַהֲרֹ֤ן אָחִ֙יךָ֙ בְּהֹ֣ר הָהָ֔ר וַיֵּאָ֖סֶף אֶל־עַמָּֽיו׃(נא) עַל֩ אֲשֶׁ֨ר מְעַלְתֶּ֜ם בִּ֗י בְּתוֹךְ֙ בְּנֵ֣י יִשְׂרָאֵ֔ל בְּמֵֽי־מְרִיבַ֥ת קָדֵ֖שׁ מִדְבַּר־צִ֑ן עַ֣ל אֲשֶׁ֤ר לֹֽא־קִדַּשְׁתֶּם֙ אוֹתִ֔י בְּת֖וֹךְ בְּנֵ֥י יִשְׂרָאֵֽל׃(נב) כִּ֥י מִנֶּ֖גֶד תִּרְאֶ֣ה אֶת־הָאָ֑רֶץ וְשָׁ֙מָּה֙ לֹ֣א תָב֔וֹא אֶל־הָאָ֕רֶץ אֲשֶׁר־אֲנִ֥י נֹתֵ֖ן לִבְנֵ֥י יִשְׂרָאֵֽל׃ (פ)
(44) And Moses came and spoke all the words of this song in the ears of the people, he, and Hoshea the son of Nun.(45) And when Moses made an end of speaking all these words to all Israel,(46) he said unto them: ‘Set your heart unto all the words wherewith I testify against you this day; that ye may charge your children therewith to observe to do all the words of this law.(47) For it is no vain thing for you; because it is your life, and through this thing ye shall prolong your days upon the land, whither ye go over the Jordan to possess it.’(48) And the LORD spoke unto Moses that selfsame day, saying:(49) ’Get thee up into this mountain of Abarim, unto mount Nebo, which is in the land of Moab, that is over against Jericho; and behold the land of Canaan, which I give unto the children of Israel for a possession;(50) and die in the mount whither thou goest up, and be gathered unto thy people; as Aaron thy brother died in mount Hor, and was gathered unto his people.(51) Because ye trespassed against Me in the midst of the children of Israel at the waters of Meribath-kadesh, in the wilderness of Zin; because ye sanctified Me not in the midst of the children of Israel.(52) For thou shalt see the land afar off; but thou shalt not go thither into the land which I give the children of Israel.’
Just as your brother Aaron died: [God said to Moses:] “Die with the same death that you witnessed and longed for, that Moses removed Aaron’s first [i.e., upper] garment and dressed Eleazar [Aaron’s son] with it. Then, Moses did the same with the second garment, and the third. Aaron then saw his son in his glory [of his new office]. Moses then said to him: ”Aaron my brother! Go up onto the couch,“ and Aaron went up. ”Stretch out your hands,“ and Aaron stretched [out his hands]. ”Stretch out your legs,“ and Aaron stretched [out his legs]. ”Close your eyes,“ and Aaron closed [his eyes]; ”Close your mouth,“ and Aaron closed [his mouth], and he passed away. Thereupon, Moses said, ”Fortunate is the one who dies a death like this!" - [Sifrei 32:49]
because you did not sanctify Me: [Says God to Israel:] You caused Me not to be sanctified [see Yalkut , end of Ha’azinu]: I said to you “Speak to the rock” [to provide you with water in the desert (see Num. 20:8)], but instead, they hit the rock, and so, they had to hit it twice [in order to extract water]. Had they, however, spoken to it [as I told them], so that the rock would have given forth water without being hit, the Name of Heaven would have been sanctified, for the Israelites would have said,"If the rock, which is subject neither to reward nor punishment, for if it acts meritoriously [i.e., fulfills God’s will,] it receives no reward, and if it sins [i.e., not fulfilling God’s will,] it is not punished, and yet [without any of these incentives] the rock fulfills the command of its Creator [by producing water when spoken to], how much more so should we [who do have the incentives of reward and punishment fulfill our Creator’s will]!
(א) וַיַּ֨עַל מֹשֶׁ֜ה מֵֽעַרְבֹ֤ת מוֹאָב֙ אֶל־הַ֣ר נְב֔וֹ רֹ֚אשׁ הַפִּסְגָּ֔ה אֲשֶׁ֖ר עַל־פְּנֵ֣י יְרֵח֑וֹ וַיַּרְאֵ֨הוּ יהוה אֶת־כָּל־הָאָ֛רֶץ אֶת־הַגִּלְעָ֖ד עַד־דָּֽן׃(ב) וְאֵת֙ כָּל־נַפְתָּלִ֔י וְאֶת־אֶ֥רֶץ אֶפְרַ֖יִם וּמְנַשֶּׁ֑ה וְאֵת֙ כָּל־אֶ֣רֶץ יְהוּדָ֔ה עַ֖ד הַיָּ֥ם הָאַחֲרֽוֹן׃(ג) וְאֶת־הַנֶּ֗גֶב וְֽאֶת־הַכִּכָּ֞ר בִּקְעַ֧ת יְרֵח֛וֹ עִ֥יר הַתְּמָרִ֖ים עַד־צֹֽעַר׃(ד) וַיֹּ֨אמֶר יהוה אֵלָ֗יו זֹ֤את הָאָ֙רֶץ֙ אֲשֶׁ֣ר נִ֠שְׁבַּעְתִּי לְאַבְרָהָ֨ם לְיִצְחָ֤ק וּֽלְיַעֲקֹב֙ לֵאמֹ֔ר לְזַרְעֲךָ֖ אֶתְּנֶ֑נָּה הֶרְאִיתִ֣יךָ בְעֵינֶ֔יךָ וְשָׁ֖מָּה לֹ֥א תַעֲבֹֽר׃(ה) וַיָּ֨מָת שָׁ֜ם מֹשֶׁ֧ה עֶֽבֶד־יהוה בְּאֶ֥רֶץ מוֹאָ֖ב עַל־פִּ֥י יהוה׃(ו) וַיִּקְבֹּ֨ר אֹת֤וֹ בַגַּיְ֙ בְּאֶ֣רֶץ מוֹאָ֔ב מ֖וּל בֵּ֣ית פְּע֑וֹר וְלֹֽא־יָדַ֥ע אִישׁ֙ אֶת־קְבֻ֣רָת֔וֹ עַ֖ד הַיּ֥וֹם הַזֶּֽה׃(ז) וּמֹשֶׁ֗ה בֶּן־מֵאָ֧ה וְעֶשְׂרִ֛ים שָׁנָ֖ה בְּמֹת֑וֹ לֹֽא־כָהֲתָ֥ה עֵינ֖וֹ וְלֹא־נָ֥ס לֵחֹֽה׃(ח) וַיִּבְכּוּ֩ בְנֵ֨י יִשְׂרָאֵ֧ל אֶת־מֹשֶׁ֛ה בְּעַֽרְבֹ֥ת מוֹאָ֖ב שְׁלֹשִׁ֣ים י֑וֹם וַֽיִּתְּמ֔וּ יְמֵ֥י בְכִ֖י אֵ֥בֶל מֹשֶֽׁה׃(ט) וִֽיהוֹשֻׁ֣עַ בִּן־נ֗וּן מָלֵא֙ ר֣וּחַ חָכְמָ֔ה כִּֽי־סָמַ֥ךְ מֹשֶׁ֛ה אֶת־יָדָ֖יו עָלָ֑יו וַיִּשְׁמְע֨וּ אֵלָ֤יו בְּנֵֽי־יִשְׂרָאֵל֙ וַֽיַּעֲשׂ֔וּ כַּאֲשֶׁ֛ר צִוָּ֥ה יהוה אֶת־מֹשֶֽׁה׃(י) וְלֹֽא־קָ֨ם נָבִ֥יא ע֛וֹד בְּיִשְׂרָאֵ֖ל כְּמֹשֶׁ֑ה אֲשֶׁר֙ יְדָע֣וֹ יהוה פָּנִ֖ים אֶל־פָּנִֽים׃(יא) לְכָל־הָ֨אֹת֜וֹת וְהַמּוֹפְתִ֗ים אֲשֶׁ֤ר שְׁלָחוֹ֙ יהוה לַעֲשׂ֖וֹת בְּאֶ֣רֶץ מִצְרָ֑יִם לְפַרְעֹ֥ה וּלְכָל־עֲבָדָ֖יו וּלְכָל־אַרְצֽוֹ׃(יב) וּלְכֹל֙ הַיָּ֣ד הַחֲזָקָ֔ה וּלְכֹ֖ל הַמּוֹרָ֣א הַגָּד֑וֹל אֲשֶׁר֙ עָשָׂ֣ה מֹשֶׁ֔ה לְעֵינֵ֖י כָּל־יִשְׂרָאֵֽל׃
(1) And Moses went up from the plains of Moab unto mount Nebo, to the top of Pisgah, that is over against Jericho. And the LORD showed him all the land, even Gilead as far as Dan;(2) and all Naphtali, and the land of Ephraim and Manasseh, and all the land of Judah as far as the hinder sea;(3) and the South, and the Plain, even the valley of Jericho the city of palm-trees, as far as Zoar.(4) And the LORD said unto him: ‘This is the land which I swore unto Abraham, unto Isaac, and unto Jacob, saying: I will give it unto thy seed; I have caused thee to see it with thine eyes, but thou shalt not go over thither.’(5) So Moses the servant of the LORD died there in the land of Moab, according to the word of the LORD.(6) And he was buried in the valley in the land of Moab over against Beth-peor; and no man knoweth of his sepulchre unto this day.(7) And Moses was a hundred and twenty years old when he died: his eye was not dim, nor his natural force abated.(8) And the children of Israel wept for Moses in the plains of Moab thirty days; so the days of weeping in the mourning for Moses were ended.(9) And Joshua the son of Nun was full of the spirit of wisdom; for Moses had laid his hands upon him; and the children of Israel hearkened unto him, and did as the LORD commanded Moses.(10) And there hath not arisen a prophet since in Israel like unto Moses, whom the LORD knew face to face;(11) in all the signs and the wonders, which the LORD sent him to do in the land of Egypt, to Pharaoh, and to all his servants, and to all his land;(12) and in all the mighty hand, and in all the great terror, which Moses wrought in the sight of all Israel.
by the mouth of the Lord: [i.e., Moses died] by a Divine kiss. — [B.B. 17a]
Sifreon Parashat Nitzavim - Vayelech, section 305, (Finkelstein Edition, pp. 323-326) it says of the death of Moses: