Deuteronomy 32:50-52

50 And die on the mount where thou go up, and be gathered to thy people, as Aaron thy brother died in mount Hor, and was gathered to his people,

51 because ye trespassed against me in the midst of the sons of Israel at the waters of Meribah of Kadesh, in the wilderness of Zin, because ye did not sanctify me in the midst of the sons of Israel.

52 For thou shall see the land before thee, but thou shall not go there into the land which I give the sons of Israel.