מדרש אויף יהושע 4:14

בַּיּ֣וֹם הַה֗וּא גִּדַּ֤ל יְהוָה֙ אֶת־יְהוֹשֻׁ֔עַ בְּעֵינֵ֖י כָּל־יִשְׂרָאֵ֑ל וַיִּֽרְא֣וּ אֹת֔וֹ כַּאֲשֶׁ֛ר יָרְא֥וּ אֶת־מֹשֶׁ֖ה כָּל־יְמֵ֥י חַיָּֽיו׃ (פ)

אין יענעם טאָג האָט גאָט געגרײסט יהוֹשוען פֿאַר די אױגן פֿון גאַנץ ישׂראל, און זײ האָבן מוֹרא געהאַט פֿאַר אים אַזױ װי זײ האָבן מוֹרא געהאַט פֿאַר משהן, אַלע טעג פֿון זײַן לעבן.

Midrash Tehillim

"When we advance with good blessings, Rabbi Yehuda says, the blessings of Moses, which are called good, as it says, 'And she saw that he was good' (Exodus 2:2). The Rabbis say, the blessings of the Torah, as it says, 'For I give you good instruction; do not forsake my Torah' (Proverbs 4:2). Chayim asked you: Rabbi Yochanan said, God asked three people in Psalm, 'Ask me and I will grant it to you,' etc. Why were they agitated? Rabbi Berachya said, even those who descended to the Pit, they were still alive. They are Korach and his congregation, Ahithophel, and Doeg. 'Great is His glory in Your deliverance' (Psalms 21:6), 'The splendor of the disciple' (Pirkei Avot 6:3), as it is said, 'And You placed Your splendor upon him' (Psalms 21:6). Your splendor, but not all of Your splendor. And where was it given to Joshua? Rabbi Yehudah said, it was given to him at the Jordan. In the case of Moses, it is written, 'And they were afraid to come near him' (Exodus 34:30), and in the case of Joshua, it is written, 'And they were afraid of him as they were afraid of Moses' (Joshua 4:14)."
פֿרעגט אַ רבֿBookmarkShareCopy

Sifrei Devarim

"and they did as the L-rd had commanded Moses": But He had not yet placed his fear upon them, it being written (Joshua 4:14) "On that day the L-rd exalted Joshua" — On that day He placed his fear upon them.
פֿרעגט אַ רבֿBookmarkShareCopy