Deuteronomy 1:34-40 - Judgment At Kadesh Barnea

34 Yahweh heard the voice of your words, and was angry, and swore, saying, 35 "Surely not one of these men of this evil generation shall see the good land, which I swore to give to your fathers, 36 except Caleb the son of Jephunneh: he shall see it; and to him will I give the land that he has trodden on, and to his children, because he has wholly followed Yahweh."

37 Also Yahweh was angry with me for your sakes, saying, "You also shall not go in there: 38 Joshua the son of Nun, who stands before you, he shall go in there: encourage you him; for he shall cause Israel to inherit it. 39 Moreover your little ones, whom you said should be a prey, and your children, who this day have no knowledge of good or evil, they shall go in there, and to them will I give it, 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."