Deuteronomy 1:34-40 - Judgment At Kadesh Barnea
34 And LORD heard the voice of your words, and was angry, and swore, saying, 35 Surely there shall not one of these men of this evil generation see the good land, which I swore to give to your fathers, 36 except Caleb the son of Jephunneh. He shall see it, and I will give to him the land that he has trodden upon, and to his sons, because he has wholly followed LORD.
37 Also LORD was angry with me for your sakes, saying, Thou also shall not go in there. 38 Joshua the son of Nun, who stands before thee, he shall go in there. Encourage thou him, for he shall cause Israel to inherit it. 39 Moreover your little ones, who ye said would be a prey, and your sons, who this day have no knowledge of good or evil, they shall go in there, and 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.