Deuteronomy 32:50-52

50 and die on the mountain which you ascend, and be gathered to your people, as Aharon your brother died on Mount Hor and was gathered to his people,

51 because you trespassed against Me in the midst of the children of Yisra’ĕl at the waters of Meriḇah Qaḏĕsh, in the Wilderness of Tsin, because you did not set Me apart in the midst of the children of Yisra’ĕl.

52 “For you are to look at the land before you, but not enter there, into the land which I am giving to the children of Yisra’ĕl.”