Deuteronomy 1:34-38
34 When the Lord heard that you were complaining, he was angry. He made this serious promise: 35 ‘You people who are now alive are wicked. None of you will see the good land that I promised to give to your ancestors. 36 Only Jephunneh's son Caleb will see it. He has obeyed me faithfully. So I will give to him and to his descendants the land that he walked on.’
37 As for me, the Lord became angry with me also, because of you. He said to me, ‘You also will not go into the land. 38 But your servant Joshua, the son of Nun, will go in there. You must tell him to be brave. He will lead the Israelites into the land. It will become their land.