Deuteronomy 1:37-39

37 “The LORD was also angry with me because of you. He said to me, ‘Moses, you cannot enter the land, either.

38 But your helper, Joshua son of Nun, will go into the land. Encourage Joshua, because he will lead the Israelites to take the land for their own.

39 You thought your little children would be taken by your enemies. But those children, who are still too young to know right from wrong, will go into the land. I will give it to them. Your children will take the land for their own.