Deuteronomy 9:5

3 But understand that today the LORD your God goes across ahead of you as a consuming fire; He will destroy them and subdue them before you. And you will drive them out and annihilate them swiftly, as the LORD has promised you.

4 When the LORD your God has driven them out before you, do not say in your heart, “Because of my righteousness the LORD has brought me in to possess this land.” Rather, the LORD is driving out these nations before you because of their wickedness.

It is not because of your righteousness or uprightness of heart that you are going in to possess their land, but it is because of their wickedness that the LORD your God is driving out these nations before you, to keep the promise He swore to your fathers, to Abraham, Isaac, and Jacob.

6 Understand, then, that it is not because of your righteousness that the LORD your God is giving you this good land to possess, for you are a stiff-necked people.

7 Remember this, and never forget how you provoked the LORD your God in the wilderness. From the day you left the land of Egypt until you reached this place, you have been rebelling against the LORD.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
It is not because of your righteousness or uprightness of heart that you are going in to possess their land, but it is because of their wickedness that the LORD your God is driving out these nations before you, to keep the promise He swore to your fathers, to Abraham, Isaac, and Jacob.
KJV
Not for thy righteousness, or for the uprightness of thine heart, dost thou go to possess their land: but for the wickedness of these nations the LORD thy God doth drive them out from before thee, and that he may perform the word which the LORD sware unto thy fathers, Abraham, Isaac, and Jacob.
WEB
Not for your righteousness or for the uprightness of your heart do you go in to possess their land; but for the wickedness of these nations the LORD your God does drive them out from before you, and that he may establish the word which the LORD swore to your fathers, to Abraham, to Isaac, and to Jacob.
ASV
Not for thy righteousness, or for the uprightness of thy heart, dost thou go in to possess their land; but for the wickedness of these nations Jehovah thy God doth drive them out from before thee, and that he may establish the word which Jehovah sware unto thy fathers, to Abraham, to Isaac, and to Jacob.
DARBY
Not for thy righteousness, or for the uprightness of thy heart, dost thou enter in to possess their land, but for the wickedness of these nations doth Jehovah thy God dispossess them from before thee, and that he may perform the word which Jehovah swore unto thy fathers, to Abraham, to Isaac, and to Jacob.
BLB
Not in your righteousness or the uprightness of your heart are you going in to possess their land, but for the wickedness of these nations YHWH your God is driving them out from before you, so that He may fulfill the word that YHWH swore to your fathers, to Abraham, to Isaac, and to Jacob.
ÅB
Ikke for din rettferdighets skyld eller for ditt oppriktige hjertes skyld kommer du inn i deres land og tar det i eie; men det er for deres ugudelighets skyld Herren din Gud driver disse hedninger ut for deg, og for å holde det ord Herren har svoret dine fedre Abraham, Isak og Jakob.
OTB
Det er ikke på grunn av din rettferdighet eller hjertets oppriktighet at du går inn for å ta deres land i eie. I stedet er det på grunn av deres ugudelighet at Herren din Gud driver dem ut foran deg, for å bekrefte løftet Han ga til dine forfedre—til Abraham, Isak og Jakob.
B1930
Ikke for din rettferdighets skyld eller for ditt opriktige hjertes skyld kommer du inn i deres land og tar det i eie; men det er for deres ugudelighets skyld Herren din Gud driver disse hedninger ut for dig, og for å holde det ord Herren har svoret dine fedre Abraham, Isak og Jakob.

Study notes (Tyndale)

Original text and word study

Cross references

  • Titus 3:5

    He saved us, not by the righteous deeds we had done, but according to His mercy, through the washing of new birth and renewal by the Holy Spirit.

    Read in context
  • Genesis 17:8

    And to you and your descendants I will give the land where you are residing—all the land of Canaan—as an eternal possession; and I will be their God.”

    Read in context
  • Genesis 26:4

    I will make your descendants as numerous as the stars in the sky, and I will give them all these lands, and through your offspring all nations of the earth will be blessed,

    Read in context
  • Genesis 15:7

    The LORD also told him, “I am the LORD, who brought you out of Ur of the Chaldeans to give you this land to possess.”

    Read in context
  • Genesis 13:15

    for all the land that you see, I will give to you and your offspring forever.

    Read in context
  • Genesis 12:7

    Then the LORD appeared to Abram and said, “I will give this land to your offspring.” So Abram built an altar there to the LORD, who had appeared to him.

    Read in context
  • Genesis 28:13

    And there at the top the LORD was standing and saying, “I am the LORD, the God of your father Abraham and the God of Isaac. I will give you and your descendants the land on which you now lie.

    Read in context
  • Ezekiel 20:14

    But I acted for the sake of My name, so that it would not be profaned in the eyes of the nations in whose sight I had brought them out.

    Read in context