Devarim / Deuteronomy 1:39 · Drash
וְטַפְּכֶם אֲשֶׁר אֲמַרְתֶּם לָבַז יִהְיֶה וּבְנֵיכֶם אֲשֶׁר לֹא־יָדְעוּ הַיּוֹם טוֹב וָרָע הֵמָּה יָבֹאוּ שָׁמָּה וְלָהֶם אֶתְּנֶנָּה וְהֵם יִירָשׁוּהָּ׃
And your little ones, of whom you said they would become a prey, and your sons, who today do not know good from evil, they shall go in there. To them I will give it, and they shall possess it.
Drash דְּרָשׁ
The little ones who will enter
The adults feared their children would become prey. The midrash shows who those children really became, and how old they were when they left Egypt.
Midrash Lekach Tov: "little ones" are ten and fifteen years old, "sons who do not know good and evil" are five, six, seven. Those of whom it was said "they will become prey" became a great and mighty nation, and of them it is said: "You are all fair, my love". Midrash Aggadah: six- and nine-year-olds saw the wonders in Egypt and at the sea, yet God counted them as if they knew nothing, and so left them a share in the land.
How Midrash Lekach Tov and Midrash Aggadah explain it
Midrash Lekach Tov And your little ones, of whom you said
These are ten-year-olds and fifteen-year-olds. "And your sons, who today do not know good and evil": these are five-, six-, seven-year-olds. "And your sons": that is, your sons, of whom you said they will become prey, will not become prey, but will become a great and mighty nation. Of them Shlomo (Solomon) said: "You are all fair, my love, and there is no blemish in you" (Shir HaShirim / Song of Songs 4:7). "They will come": these are those who enter the land. "And to them I will give it": they will conquer it. "And they will possess it": they will divide it among the tribes.
Midrash Aggadah And your sons, who today do not know good and evil
Come and see the righteousness of the Holy One, blessed is He. Among those who left Egypt there were six-year-olds and nine-year-olds, and He counted them as if they knew nothing of all the mighty deeds the Holy One, blessed is He, did in Egypt and at the sea, as if they knew neither good nor evil.
Takeaway
The decree after the scouts applied to those twenty years old and up (Bamidbar / Numbers 14:29).
"You are all fair, my love, and there is no blemish in you" (Shir HaShirim / Song of Songs 4:7): the midrash reads these words about the new generation.
Tradition ascribes the Song of Songs to King Shlomo.