Deuteronomy 4:21

New American Standard Bible (NASB)
“Now the Lord was angry with me on your account, and swore that I would not cross the Jordan, and that I would not enter the good land which the Lord your God is giving you as an inheritance.

Read Deuteronomy 4:21 in other translations