Deuteronomy 4:21 in the King James Version
Furthermore the LORD was angry with me for your sakes, and sware that I should not go over Jordan, and that I should not go in unto that good land, which the LORD thy God giveth thee for an inheritance:
Context
20 But the LORD has taken you, and brought you out of the iron furnace, out of Egypt, to be to him a people of inheritance, as it is today.
21 Furthermore the LORD was angry with me for your sakes, and swore that I should not go over the Jordan, and that I should not go in to that good land which the LORD your God gives you for an inheritance;
22 but I must die in this land. I must not go over the Jordan, but you shall go over and possess that good land.