It is not for your righteousness or for the uprightness of your heart that you are going to possess their land, but it is because of the wickedness of these nations that the Lord your God is driving them out before you, in order to confirm the oath which the Lord swore to your fathers, to Abraham, Isaac and Jacob (Deut 9:5).
If we employ a standard, time-honored exegesis of the above we may understand that Israel is the Church and the “land” is heaven. So, the Church does not go to heaven in light of their own righteousness, but rather because God made an oath to the patriarchs and is intent on keeping it.
Compare this with how Catholics think they make it into heaven:
[I]n infused righteousness God through Christ helps us to clean our dirty robe. This needs our cooperation and it is an on-going process. Our dirty robe is first washed clean through (Sacrament of) Baptism. Whenever we make it dirty again through sinning, God through Christ helps us to clean it through (Sacrament of) Reconciliation. When we die with our robe still stained with venial sin then purgatory will cleanse it.
Catholicism teaches that someone has to be literally righteous to enter the Promise Land. Ironically, this directly contradicts what the Scripture actually says.