"Prepare provisions for yourselves" (Joshua 1:11). But did they need provisions there? They were eaters of the manna, who gathered it morning after morning. Rather, thus he said to them: do repentance, so that you may enter the Land and eat of the produce of the Land, as it is said, "And the manna ceased on the next day" (Joshua 5:12). An angel went out to destroy the whole world. He said, the manna has ceased and the Torah has ceased, as it is said, "And it came to pass when Joshua was by Jericho..." (Joshua 5:13). He said to him: as for Joshua, are you indeed shod in shoes and not conducting yourself properly? But concerning Israel, for whom the manna has ceased and the Torah has ceased, remove your shoe (Joshua 5:15). Therefore I was saying: happy is the man who increases sitting and toil over Torah and reduces commerce, and sits and meditates on words of Torah every single day.
Prepare Provisions, a Call to Repent Before Entering the Land
Yalkut Shimoni on Nach 7:2
הכינו לכם צדה (יהושע א יא). וכי צדה היתה צריכה שם והלא אינן אלא אוכלי המן שהיו מלקטין אותו בבקר בבקר, אלא כך אמר להם עשו תשובה כדי שתכנסו לארץ ותאכלו מתבואת הארץ שנאמר וישבות המן ממחרת, (ה) יצא מלאך להחריב את כל העולם אמר בטל המן ובטלה התורה שנאמר ויהי בהיות יהושע ביריחו וגו' א"ל ומה יהושע וכי במנעלים אתה נעול ואין אתה נוהג אבל על ישראל שבטל המן ובטלה התורה של נעלך לפיכך הייתי אומר אשרי אדם שהוא מרבה את הישיבה ואת הטורח וממעט בסחורה ויושב והוגה בדברי תורה בכל יום תמיד: