Devarim1:39

וְטַפְּכֶם אֲשֶׁר אֲמַרְתֶּם לָבַז יִהְיֶה וּבְנֵיכֶם אֲשֶׁר לֹא־יָדְעוּ הַיּוֹם טוֹב וָרָע הֵמָּה יָבֹאוּ שָׁמָּה וְלָהֶם אֶתְּנֶנָּה וְהֵם יִירָשׁוּהָּ׃

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.

Devarim 1:39

וְטַפְּכֶם אֲשֶׁר אֲמַרְתֶּם

Devarim / Deuteronomy 1:39

וְטַפְּכֶם אֲשֶׁר אֲמַרְתֶּם לָבַז יִהְיֶה וּבְנֵיכֶם אֲשֶׁר לֹא־יָדְעוּ הַיּוֹם טוֹב וָרָע הֵמָּה יָבֹאוּ שָׁמָּה וְלָהֶם אֶתְּנֶנָּה וְהֵם יִירָשׁוּהָּ׃

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.

Pshat פְּשָׁט

Two groups in the wilderness

Ibn Ezra: "today" means "on that day", and "do not know good and evil" is said of most of the children. Haamek Davar: the repetition is not empty. There were two groups in that generation. Some wrongly thought that those who came would perish and the children would become prey, and they are told: these very ones will enter. Others did not want to carry the service of the land, and of their innocent sons it is said: "they will possess it", they will receive the land's special quality through Torah and service.

How Ibn Ezra and Haamek Davar explain it

Remez רֶמֶז

The dead inherit the living

Kitzur Ba'al HaTurim: "they will possess it" appears twice, the second time "they will possess it forever": the land was given to them forever, and they would not have been exiled had they not sinned. Be'er Mayim Chaim: "to them I will give it" is about the children, and "they will possess it" is about those who died in the wilderness. In the division of the Land of Israel the dead inherited the living: the sons' shares passed through their dead fathers.

How Kitzur Ba'al HaTurim and Be'er Mayim Chaim explain it

Drash דְּרָשׁ

The little ones who will enter

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

Sod סוֹד

Sparks of holiness in 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