וְצַ֥ו אֶת־יְהוֹשֻׁ֖עַ וְחַזְּקֵ֣הוּ וְאַמְּצֵ֑הוּ כִּי־ה֣וּא יַעֲבֹ֗ר לִפְנֵי֙ הָעָ֣ם הַזֶּ֔ה וְהוּא֙ יַנְחִ֣יל אוֹתָ֔ם אֶת־הָאָ֖רֶץ אֲשֶׁ֥ר תִּרְאֶֽה׃
און גיב איבער דײַן צַװָאֶה צו יהוֹשוען, און שטאַרק אים, און פֿעסטיק אים, װאָרום ער װעט אַריבערגײן פֿאַרױס פֿאַר דעם דאָזיקן פֿאָלק, און ער װעט זײ מאַכן אַרבן דאָס לאַנד װאָס דו װעסט זען.
Siftei Chakhamim
And for generations. [Rashi knows this] from what is written (Devarim 3:28): “Command Yehoshua and strengthen him” — [the addition of the word “and strengthen him” shows that] this is an expression of “urging.” “And for generations” — it is written in Parshas Emor (24:2-3): “Command the children of Israel and let them take [pure olive] oil ... from evening until morning before Hashem, continually, as an everlasting statute throughout your generations,” this stipulates “for generations.” “Immediately” — it says in Parshas Behaloscha (Bamidbar 8:3): “Aharon did so; he lit the lamps toward the face of the menorah, as Hashem had commanded...” — this denotes “immediately.”
Rashi
Get yourself up. [Even though we read the word as קֻם], it is written קם [which could be read קָם]. [The explanation therefore would be as follows]: Your prayers to Me have stood up for you, and [everything] you mentioned.3Your prayers and everything you said have accomplished their purpose. I will not permit the people to be defeated. Another explanation: you stood yourself in the camp and did not go out with them,4When you sent the men to capture the city of Ai, you remained at the camp and did not lead them. and I had said, ‘Who will take them out [to war] and who will bring them [back].’5Bamidbar 27:17. ‘For you will bring the Bnei Yisroel— and I will be with you.’6Devorim 31:23. ‘For he will cross over before this people, and he will spur them on to inherit.’7Devorim 3:28. If you go before them, they will succeed, and if not, they will not succeed. Another explanation: Get yourself up, it is your fault [because of you] that this has happened to them. I did not tell you to sanctify the booty of the city.
Kli Yakar
And from that which was said in the portion of Va’era (Exodus 6:13) And He commanded them concerning the children of Israel, Rashi explained that He commanded them to lead them gently. We can deduce that wherever the language of command is mentioned here, it refers to political leadership that needs to be conducted gently. For “command” [tzav] always implies urging, and we learn this from what is written and command Joshua, etc. (Deuteronomy 3:28), because a leader especially needs encouragement in political leadership, as people tend to rebel against their leaders. Therefore, when He said to him, Take Joshua son of Nun, a man in whom there is spirit, who can go against the spirit of each person — meaning in matters of political leadership, to subdue anyone whose spirit is haughty — He said and lay your hand upon him, that is, one hand, to tell him that one hand pushes away the transgressors and one hand draws them near. And concerning this He said, And you shall set him before Eleazar and command him in their sight, and we learn command [ve-tzivita] from He commanded them [va-yetzavem] — just as He commanded them mentioned elsewhere refers to gentleness and speaks of political leadership, so too command mentioned here refers to gentleness, meaning with one hand.