Deuteronomy 32:50-52 New Living Translation (NLT)

50. Then you will die there on the mountain. You will join your ancestors, just as Aaron, your brother, died on Mount Hor and joined his ancestors.

51. For both of you betrayed me with the Israelites at the waters of Meribah at Kadesh in the wilderness of Zin. You failed to demonstrate my holiness to the people of Israel there.

52. So you will see the land from a distance, but you may not enter the land I am giving to the people of Israel.”

Deuteronomy 32