Deuteronomy 9:4

4 `Thou dost not speak in thy heart (in Jehovah thy God's driving them away from before thee), saying, For my righteousness hath Jehovah brought me in to possess this land, seeing for the wickedness of these nations is Jehovah dispossessing them from thy presence;

Deuteronomy 9:4 Meaning and Commentary

Deuteronomy 9:4

Speak not thou in thine heart
Never once think within thyself, or give way to such a vain imagination, and please thyself with it:

after that the Lord thy God hath cast them out from before thee;
to make way for the Israelites, and put them into the possession of their land; which is to be ascribed not to them, but to the Lord:

saying, for my righteousness the Lord hath brought me in to possess
this land;
such a thought as this was not to be secretly cherished in their hearts, and much less expressed with their lips; nothing being more foreign from truth than this, and yet a notion they were prone to entertain. They were always a people, more or less, from first to last, tainted with a conceit of their own righteousness, and goodness, which they laboured to establish, and were ready to attribute all the good things to it they enjoyed, and nothing is more natural to men, than to fancy they shall be brought to the heavenly Canaan by and for their own righteousness; which is contrary to the perfections of God, his purity, holiness, and justice, which can never admit of an imperfect righteousness in the room of a perfect one; to justify anyone thereby, is contrary to the Gospel scheme of salvation; which is not by works of righteousness men have done, but by the grace and mercy of God through Christ; it would make useless, null, and void, the righteousness of Christ, which only can justify men in the sight of God, give a title to heaven and happiness, and an abundant entrance into it; and would occasion boasting, not only in the present state, but even in heaven itself; whereas the scheme of salvation is so framed and fixed, that there may be no room for boasting, here or hereafter, see ( Romans 3:27 Romans 3:28 ) ( Ephesians 2:8 Ephesians 2:9 ) ( Titus 3:5 Titus 3:7 ) ,

but for the wickedness of these nations the Lord doth drive them out
from before thee;
namely, their idolatry, incest, and other notorious crimes; see ( Leviticus 18:3-28 ) , which sufficiently justifies God in all his dealings with these nations.

Deuteronomy 9:4 In-Context

2 a people great and tall, sons of Anakim, whom thou -- thou hast known, (and thou -- thou hast heard: Who doth station himself before sons of Anak?)
3 and thou hast known to-day, that Jehovah thy God [is] He who is passing over before thee -- a fire consuming; He doth destroy them, and He doth humble them before thee, and thou hast dispossessed them, and destroyed them hastily, as Jehovah hath spoken to thee.
4 `Thou dost not speak in thy heart (in Jehovah thy God's driving them away from before thee), saying, For my righteousness hath Jehovah brought me in to possess this land, seeing for the wickedness of these nations is Jehovah dispossessing them from thy presence;
5 not for thy righteousness, and for the uprightness of thy heart, art thou going in to possess their land; but for the wickedness of these nations is Jehovah thy God dispossessing them from before thee; and in order to establish the word which Jehovah hath sworn to thy fathers, to Abraham, to Isaac, and to Jacob;
6 and thou hast known, that not for thy righteousness is Jehovah thy God giving to thee this good land to possess it, for a people stiff of neck thou [art].
Young's Literal Translation is in the public domain.