Deuteronomy 32:47-52

47 This is no trifling matter for you, but rather your very life; through it you may live long in the land that you are crossing over the Jordan to possess."
48 On that very day the Lord addressed Moses as follows:
49 "Ascend this mountain of the Abarim, Mount Nebo, which is in the land of Moab, across from Jericho, and view the land of Canaan, which I am giving to the Israelites for a possession;
50 you shall die there on the mountain that you ascend and shall be gathered to your kin, as your brother Aaron died on Mount Hor and was gathered to his kin;
51 because both of you broke faith with me among the Israelites at the waters of Meribath-kadesh in the wilderness of Zin, by failing to maintain my holiness among the Israelites.
52 Although you may view the land from a distance, you shall not enter it—the land that I am giving to the Israelites."
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.