Devarim / Deuteronomy 29:28 · Drash
הַנִּסְתָּרֹת לַיהוָה אֱלֹהֵינוּ וְהַנִּגְלֹת לָנוּ וּלְבָנֵינוּ עַד־עוֹלָם לַעֲשׂוֹת אֶת־כָּל־דִּבְרֵי הַתּוֹרָה הַזֹּאת׃
The hidden things belong to the Eternal our Almighty, and the revealed things belong to us and to our children forever, to do all the words of this Torah.
Drash דְּרָשׁ
A myrtle among reeds
One person does something in secret, and everyone feels the consequences. Where does one person's responsibility end and everyone's begin? The sages argue about it.
Talmud: Rabbi Yehudah teaches that before crossing the Jordan there was no punishment for hidden sins. Rabbi Nechemyah answers: there is never punishment for hidden sins, and before the Jordan there was none even for open ones. Achan was punished because his wife and children knew of his sin.
How Ein Yaakov explain it
Ein Yaakov The hidden things belong to the Eternal our Almighty, and the revealed things belong to us and to our children forever
The tannaim disputed this. Why are there dots over the words "to us and to our children" and over the letter ayin (ע) in the word "forever" (עַד)? This teaches that He did not punish for the hidden things until Israel crossed the Jordan. These are the words of Rabbi Yehudah. Rabbi Nechemyah said to him: "Does He ever punish for the hidden things? It already says: 'forever'! Rather, just as He did not punish for the hidden things, so He did not punish for sins done openly until Israel crossed the Jordan."
But then why was Achan punished? Because his wife and his children knew about him.
"Israel has sinned" (Yehoshua / Joshua 7:11). Rabbi Abba said: "This is what people say: a myrtle that stands among reeds, myrtle is its name and myrtle is what it is called." "And they have also (גַּם) transgressed My covenant which I commanded them, and have also taken of the banned things, and have also stolen, and have also lied, and have also put it among their own things" (ibid.). Rabbi Ilai said in the name of Rabbi Yehudah bar Masparta: this teaches that Achan transgressed all five books of the Torah, for "also" (גַּם) is said five times.
Takeaway
Achan took things from the banned spoil of Jericho and hid them in his tent, and the whole people was defeated at the city of Ai (Yehoshua / Joshua 7).
"A myrtle among reeds": a myrtle remains a myrtle even when it grows among reeds. So the people: even when it sins, it is called Israel (Rashi on Sanhedrin 44a).
The word "also" (גַּם) stands five times in the verse, and the sage sees in them the five books of the Torah.
The tannaim are the sages of the Mishnah period. The same dispute about the dots is discussed by Rashi at the Pshat level and the Rosh at the Remez level.