Deuteronomy 32:44-32:52
Moses came, together with Hosea son of Nun, and recited all the words of this poem in the hearing of the people.
And when Moses finished reciting all these words to all Israel, he said to them: Take to heart all the words with which I have warned you this day. Enjoin them upon your children, that they may observe faithfully all the terms of this Teaching. For this is not a trifling thing for you: it is your very life; through it you shall long endure on the land that you are to possess upon crossing the Jordan.
That very day the Lord spoke to Moses: Ascend these heights of Abarim to Mount Nebo, which is in the land of Moab facing Jericho, and view the land of Canaan, which I am giving the Israelites as their holding. You shall die on the mountain that you are about to ascend, and shall be gathered to your kin, as your brother Aaron died on Mount Hor and was gathered to his kin; for you both broke faith with Me among the Israelite people, at the waters of Meribath-kadesh in the wilderness of Zin, by failing to uphold My sanctity among the Israelite people. You may view the land from a distance, but you shall not enter it--the land that I am giving to the Israelite people.