Deuteronomy 32:50-52

50 On the mountain that you are ascending, there be gathered to your people — as Aaron your brother died on Mount Hor and was gathered to his people —

51 because you both broke faith with Me among Bnei-Yisrael at the waters of Meribath-kadesh in the wilderness of Zin, because you did not treat Me as holy in the midst of Bnei-Yisrael.

52 For you will see the land from afar, but you will not enter there, into the land that I am giving to Bnei-Yisrael.”