R. Eliezer Hamodai says: Moses said to Joshua: Why are you guarding your head? Is it not for the crown? (You have nothing to fear) Go out from under the cloud and do battle with Amalek.
Rabbi Eliezer Hamodai Offered a Different Interpretation of Why Moses
Mekhilta Tractate Amalek 1:19