Deuteronomy 1:34-40 - Judgment At Kadesh Barnea
34 And Jehovah will hear the voice of your words, and he will be angry, and he will swear, saying, 35 If a man among these men of this evil generation shall see the good land which I sware to give to your fathers, 36 Except Caleb, son of Jephunneh; he shall see it, and to him I will give the land which he trod upon it, and to his sons, because that he filled up after Jehovah.
37 Also with me was Jehovah angry on account of you, saying, Also thou shalt not come in there. 38 Joshua son of Nun, standing before thee, he shall come in there: strengthen him, for he shall cause Israel to inherit it 39 And your little ones which ye said shall be for a spoil, and your sons which knew not that day good and evil, they shall go in there, and to them will I give it, and they shall possess it 40 And you, turn for yourselves and remove to the desert the way of the sea of sedge.