Deuteronomy 9:4

4 When the Lord your God thrusts them out before you, do not say to yourself, "It is because of my righteousness that the Lord has brought me in to occupy this land"; it is rather because of the wickedness of these nations that the Lord is dispossessing them before you.

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 strong and tall people, the offspring of the Anakim, whom you know. You have heard it said of them, "Who can stand up to the Anakim?"
3 Know then today that the Lord your God is the one who crosses over before you as a devouring fire; he will defeat them and subdue them before you, so that you may dispossess and destroy them quickly, as the Lord has promised you.
4 When the Lord your God thrusts them out before you, do not say to yourself, "It is because of my righteousness that the Lord has brought me in to occupy this land"; it is rather because of the wickedness of these nations that the Lord is dispossessing them before you.
5 It is not because of your righteousness or the uprightness of your heart that you are going in to occupy their land; but because of the wickedness of these nations the Lord your God is dispossessing them before you, in order to fulfill the promise that the Lord made on oath to your ancestors, to Abraham, to Isaac, and to Jacob.
6 Know, then, that the Lord your God is not giving you this good land to occupy because of your righteousness; for you are a stubborn people.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.