ויקם משה ויהושע משרתו ויעל משה אל הר אלקים
Yehoshua was neither commanded to accompany Moshe Rabbeinu, nor did he have any function at the mountain. Nonetheless, as the loyal student and servant, he accompanied his Rebbe and waited for him at the foot of the mountain for forty days until he returned. The question is obvious: What did Yehoshua achieve by waiting at the bottom of the mountain? If he thought he would miss something, he could have set his “alarm clock” for forty days later (in the morning) and run up to the mountain and wait for Moshe. Why did he camp out at the mountain for…