Devarim / Deuteronomy 1:39 · Sod
וְטַפְּכֶם אֲשֶׁר אֲמַרְתֶּם לָבַז יִהְיֶה וּבְנֵיכֶם אֲשֶׁר לֹא־יָדְעוּ הַיּוֹם טוֹב וָרָע הֵמָּה יָבֹאוּ שָׁמָּה וְלָהֶם אֶתְּנֶנָּה וְהֵם יִירָשׁוּהָּ׃
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.
Sod סוֹד
Sparks of holiness in the land
Sometimes the main task goes not to the one who began the work but to the one who suits its end. Agra DeKala says why Yehoshua (Joshua), not Moshe (Moses), leads into the land.
Agra DeKala: Moshe stayed in the wilderness with the "generation of knowledge", and the level of Yehoshua suits the generation that enters. The life of every nation is the sparks of holiness hidden in it, and Israel go to gather their own. "See" is said to one: chosen individuals see this with the mind. "Before you" is said to all: both the wise and the simple believers will be given this good land.
How Agra DeKala explain it
Agra DeKala "The Eternal was angry with me too" and so on (Devarim / Deuteronomy 1:37), "Yehoshua son of Nun" and so on, "he will come there" and so on (Devarim / Deuteronomy 1:38)
This matter was not connected to the scouts then. But since it was decreed about the generation of knowledge (דּוֹר דֵּעָה) that they would remain in the wilderness, Moshe too had to remain. And the One awesome in deeds arranged a cause for it to be so, and very deep are the thoughts of the Rock, the Perfect One. So he said: "Yehoshua son of Nun" and so on, "and your little ones" and so on (Devarim / Deuteronomy 1:39), for [the level of] Yehoshua suits the generation entering the land. Whoever has tasted of the tree of life will understand this. "Turn and journey for yourselves (לָכֶם)" and so on (Devarim / Deuteronomy 1:7). The word "for yourselves" (לָכֶם) is extra. "See (רְאֵה), I have set before you (לִפְנֵיכֶם)" and so on (Devarim / Deuteronomy 1:8): it began in the singular, "see", and ended in the plural, "before you". And it seems one can explain it so. It is known that the life of every nation is the sparks of holiness hidden in it. And when the time comes, when its term is fulfilled, Israel take the sparks of holiness from their hands, for all holiness belongs to Israel, and the nations remain bodies without life. So Israel are scattered among all the nations: to gather their own, that is, the sparks of holiness. That is what is said here too: "turn and journey for yourselves" (לָכֶם), to your own selves, that is, to the sparks of holiness that belong to you, and take what they swallowed out of their mouth, "and come to the mountain of the Amorites" and so on, and no one will move a wing. But this matter is hidden: how can it be that sparks of holiness are swallowed inside the husks (קְלִפּוֹת), and why did the Eternal do so, and how do they rise level by level? But those who understand knowledge grasp it in the wonders of the One perfect in knowledge: how the Eternal did so for our merit, built worlds and destroyed them, so that the choice would be in our hands and He would delight in the work of our hands. And the common people must believe by way of faith, for they will not reach an understanding of it by human reason. So he said "see" (רְאֵה) in the singular, to chosen individuals: they as if see it with their mind's sight, after the true tradition of the secrets of creation has been handed to them. And "I have set before you" is in the plural: both to the wise in knowledge and to those who believe in faith this good land will be given. So it seems to me.
Takeaway
"The generation of knowledge" (דּוֹר דֵּעָה) is the wilderness generation that received the Torah at Mount Sinai.
"I will take what he swallowed out of his mouth" (Yirmeyahu / Jeremiah 51:44) and "no one moved a wing" (Yeshayahu / Isaiah 10:14): Agra DeKala takes the prophets' words without citing them.
Husks (קְלִפּוֹת) are what hides holiness, as a husk hides a fruit.