(כג) וָאֶתְחַנַּ֖ן אֶל־יְהוָ֑ה בָּעֵ֥ת הַהִ֖וא לֵאמֹֽר׃ (כד) אֲדֹנָ֣י יְהוִ֗ה אַתָּ֤ה הַֽחִלּ֙וֹתָ֙ לְהַרְא֣וֹת אֶֽת־עַבְדְּךָ֔ אֶ֨ת־גָּדְלְךָ֔ וְאֶת־יָדְךָ֖ הַחֲזָקָ֑ה אֲשֶׁ֤ר מִי־אֵל֙ בַּשָּׁמַ֣יִם וּבָאָ֔רֶץ אֲשֶׁר־יַעֲשֶׂ֥ה כְמַעֲשֶׂ֖יךָ וְכִגְבוּרֹתֶֽךָ׃ (כה) אֶעְבְּרָה־נָּ֗א וְאֶרְאֶה֙ אֶת־הָאָ֣רֶץ הַטּוֹבָ֔ה אֲשֶׁ֖ר בְּעֵ֣בֶר הַיַּרְדֵּ֑ן הָהָ֥ר הַטּ֛וֹב הַזֶּ֖ה וְהַלְּבָנֽוֹן׃ (כו) וַיִּתְעַבֵּ֨ר יְהוָ֥ה בִּי֙ לְמַ֣עַנְכֶ֔ם וְלֹ֥א שָׁמַ֖ע אֵלָ֑י וַיֹּ֨אמֶר יְהוָ֤ה אֵלַי֙ רַב־לָ֔ךְ אַל־תּ֗וֹסֶף דַּבֵּ֥ר אֵלַ֛י ע֖וֹד בַּדָּבָ֥ר הַזֶּֽה׃ (כז) עֲלֵ֣ה ׀ רֹ֣אשׁ הַפִּסְגָּ֗ה וְשָׂ֥א עֵינֶ֛יךָ יָ֧מָּה וְצָפֹ֛נָה וְתֵימָ֥נָה וּמִזְרָ֖חָה וּרְאֵ֣ה בְעֵינֶ֑יךָ כִּי־לֹ֥א תַעֲבֹ֖ר אֶת־הַיַּרְדֵּ֥ן הַזֶּֽה׃ (כח) וְצַ֥ו אֶת־יְהוֹשֻׁ֖עַ וְחַזְּקֵ֣הוּ וְאַמְּצֵ֑הוּ כִּי־ה֣וּא יַעֲבֹ֗ר לִפְנֵי֙ הָעָ֣ם הַזֶּ֔ה וְהוּא֙ יַנְחִ֣יל אוֹתָ֔ם אֶת־הָאָ֖רֶץ אֲשֶׁ֥ר תִּרְאֶֽה׃ (כט) וַנֵּ֣שֶׁב בַּגָּ֔יְא מ֖וּל בֵּ֥ית פְּעֽוֹר׃ (פ)
(23) I pleaded with the LORD at that time, saying, (24) “O Lord GOD, You who let Your servant see the first works of Your greatness and Your mighty hand, You whose powerful deeds no god in heaven or on earth can equal! (25) Let me, I pray, cross over and see the good land on the other side of the Jordan, that good hill country, and the Lebanon.” (26) But the LORD was wrathful with me on your account and would not listen to me. The LORD said to me, “Enough! Never speak to Me of this matter again! (27) Go up to the summit of Pisgah and gaze about, to the west, the north, the south, and the east. Look at it well, for you shall not go across yonder Jordan. (28) Give Joshua his instructions, and imbue him with strength and courage, for he shall go across at the head of this people, and he shall allot to them the land that you may only see.” (29) Meanwhile we stayed on in the valley near Beth-peor.
Summary of pasukim.
In these set of pesukim Moshe is praying to Hashem. He is begging Hashem to let him enter the land of Israel. He starts his prayers by saying how great He is. Afterwards he asks for what he wants. Moshe knows he does not deserve it but he asking Hashem to do him a favor for free. A favor for taking care of the Jews. Hashem gets mad at Moshe for this. He will not answer him. Afterwards Hashem says to go and encourage Joshua. Hashem also lets Moshe see the land from a mountain.
Example one:
This shows my first example of Moshe showing leadership, in this example Moshe rebukes the nation an indirect way.
(כו) וַיִּתְעַבֵּ֨ר יְהוָ֥ה בִּי֙ לְמַ֣עַנְכֶ֔ם וְלֹ֥א שָׁמַ֖ע אֵלָ֑י וַיֹּ֨אמֶר יְהוָ֤ה אֵלַי֙ רַב־לָ֔ךְ אַל־תּ֗וֹסֶף דַּבֵּ֥ר אֵלַ֛י ע֖וֹד בַּדָּבָ֥ר הַזֶּֽה׃
(26) But the LORD was wrathful with me on your account and would not listen to me. The LORD said to me, “Enough! Never speak to Me of this matter again!
Explanation: In these pessukim Moshe rebukes the Jews for their sins. Rashi explains he does not just tell the Jews that they gave him a hard time but rather puts his words in a factual way. He did not make it personal. He says how Hashem got mad at me for what you did. He did not directly blame them. He does not put them down he does it in a way where they dont get hurt. This proves how Moshe is a good leader.
Example two:
In this passuk Moshe is showing leadership by inspiring Yohusha.
(כח) וְצַ֥ו אֶת־יְהוֹשֻׁ֖עַ וְחַזְּקֵ֣הוּ וְאַמְּצֵ֑הוּ כִּי־ה֣וּא יַעֲבֹ֗ר לִפְנֵי֙ הָעָ֣ם הַזֶּ֔ה וְהוּא֙ יַנְחִ֣יל אוֹתָ֔ם אֶת־הָאָ֖רֶץ אֲשֶׁ֥ר תִּרְאֶֽה׃
(28) Give Joshua his instructions, and imbue him with strength and courage, for he shall go across at the head of this people, and he shall allot to them the land that you may only see.”
(ב) וחזקהו ואמצהו. בִּדְבָרֶיךָ, שֶׁלֹּא יֵרַךְ לִבּוֹ לוֹמַר כְּשֵׁם שֶׁנֶּעֱנַשׁ רַבִּי עֲלֵיהֶם, כַּךְ סוֹפִי לֵעָנֵשׁ עֲלֵיהֶם, מַבְטִיחוֹ אֲנִי כִּי הוּא יַעֲבוֹר וְהוּא יַנְחִיל (ע' ספרי):
(2) וחזקהו ואמצהו AND STRENGTHEN HIM AND MAKE HIM FIRM through thy words, so that he may not become faint-hearted, saying, “Just as my master was punished on account of them, so eventually will I be punished on account of them and not enter the land. I promise him “that he shall pass over [before this people] and he shall cause [them] to inherit [the land]” (cf. Sifrei Devarim 29:9).
Explanation: In the pessukin Moshe here is told to encourage Yehushua to be the next leader. Rashi goes on and explains that this is a very hard situation for Moshe since its the end of his leadership. Moshe has just gotten punished and now he has to convince Yohusha that he will not be punished. This hard because Moshe has to hold back his feelings. This proves how Moshe is a great leader. He did not make it personal he put Yohusha first and he also was able to complete this challenging task.