Deuteronomy 4:21-22

4:21 But the Lord became angry with me because of you and vowed that I would never cross the Jordan nor enter the good land that he is about to give you. 4:22 So I must die here in this land; I will not cross the Jordan. But you are going over and will possess that good land.