Deuteronomy 1:36-38
1:36 The exception is Caleb son of Jephunneh; he will see it and I will give him and his descendants the territory on which he has walked, because he has wholeheartedly followed me.”
1:37 As for me, the Lord was also angry with me on your account. He said, “You also will not be able to go there.
1:38 However, Joshua son of Nun, your assistant, will go. Encourage him, because he will enable Israel to inherit the land.