Devarim / Deuteronomy 31:21 · Drash
וְהָיָה כִּי־תִמְצֶאןָ אֹתוֹ רָעוֹת רַבּוֹת וְצָרוֹת וְעָנְתָה הַשִּׁירָה הַזֹּאת לְפָנָיו לְעֵד כִּי לֹא תִשָּׁכַח מִפִּי זַרְעוֹ כִּי יָדַעְתִּי אֶת־יִצְרוֹ אֲשֶׁר הוּא עֹשֶׂה הַיּוֹם בְּטֶרֶם אֲבִיאֶנּוּ אֶל־הָאָרֶץ אֲשֶׁר נִשְׁבָּעְתִּי׃
And when many evils and troubles befall it, this song shall testify before it as a witness, for it will not be forgotten from the mouths of its offspring. For I know its inclination, how it acts already today, before I have brought it into the land which I swore."
Drash דְּרָשׁ
A pumpkin is known by its shoot
Sometimes there is fear: what if knowledge fades, the books are closed, the teachers vanish. The sages answer this fear with a verse of our chapter and add a sober word about human nature.
Talmud, Rabbi Shimon bar Yochai: the Torah will not be forgotten by Israel, for it says "will not be forgotten". And the prophet's words "they will seek and not find" mean they will not find a clear law in one place. Lekach Tov: the inclination shows already in the wilderness, all the more after plenty, as people say: a pumpkin is known by its shoot.
How Ein Yaakov and Midrash Lekach Tov explain it
Ein Yaakov For it will not be forgotten from the mouths of its offspring
It was taught: Rabbi Shimon bar Yochai says: Heaven forbid that the Torah be forgotten by Israel, for it is said: "for it will not be forgotten from the mouths of its offspring" (Devarim / Deuteronomy 31:21). How then do I fulfil: "They shall roam to seek the word of the Eternal, and shall not find it" (Amos 8:12)? That they will not find a clear law and a clear mishnah in one place.
Midrash Lekach Tov And when they befall it
"And when they befall it": the future that is to befall him. "This song shall testify before it as a witness, for it will not be forgotten from the mouths of its offspring": this is a good promise to Israel that the Torah is not forgotten by them. "For I know its inclination, how it acts already today, before I have brought it": all the more once he comes, eats and is sated. This is what people say: "A pumpkin is known by its shoot." And so Shlomo (Solomon) said: "Train a youth according to his way" (Mishlei / Proverbs 22:6). And it says: "Even by his deeds a youth makes himself known, whether his work is pure and whether it is right" (Mishlei / Proverbs 20:11).
Takeaway
Amos foretold a famine "not for bread, but for hearing the words of the Eternal" (Amos 8:11). Rabbi Shimon bar Yochai reads it this way: the Torah will remain, but it will become hard to find a clear ruling in one place (Shabbat 138b).
The Mishnah is the first code of the Oral Torah. "A clear mishnah in one place" is a law no one disputes.
"A pumpkin is known by its shoot" is a saying the Talmud cites too (Berakhot 48a): what a person will be can be seen from his beginning.