Deuteronomy 1:39 in the King James Version
Moreover your little ones, which ye said should be a prey, and your children, which in that day had no knowledge between good and evil, they shall go in thither, and unto them will I give it, and they shall possess it.
Context
38 Joshua the son of Nun, who stands before you, shall go in there. Encourage him, for he shall cause Israel to inherit it.
39 Moreover your little ones, whom you said would be captured or killed, your children, who today have no knowledge of good or evil, shall go in there. I will give it to them, and they shall possess it.
40 But as for you, turn, and take your journey into the wilderness by the way to the Red Sea.”