Parashas Devarim
Devarim 2:25
Torah Temimah points to Taanis 20a (verified).
אחל תת פחדך — כתיב הכא אחל תת פחדך וכתיב ביהושע (יהושע ג') אחל גדלך, מכאן שכשם שעמדה לו חמה ליהושע כך עמדה לו חמה למשה.
English: I will begin to put your dread — here it says “I will begin,” and regarding Yehoshua it says “I will begin to make you great”; just as the sun stood for Yehoshua, so the sun stood for Moshe.
Custom
Moshe’s victory is linked to the same solar miracle that marked Yehoshua’s conquest.