וַיֹּ֧אמֶר יְהוֹשֻׁ֛עַ אֶל־הָעָ֖ם הִתְקַדָּ֑שׁוּ כִּ֣י מָחָ֗ר יַעֲשֶׂ֧ה יְהוָ֛ה בְּקִרְבְּכֶ֖ם נִפְלָאֽוֹת׃
Disse Josué também ae povo: Santificai-vos, porque amanhã o SENHOR fará maravilhas no meio de vós.
Rashi on Joshua
And Yehoshua said. This was on the third day, and the thirtieth day of mourning [for Moshe] was on the first of the three days.
Rashi on Joshua
הִתְקַדָשׁוּ usually means sanctify yourselves, but here it means prepare yourselves.