4 Speak not thou in thine heart, after that the Lord thy God hath cast them out from before thee, saying, For my righteousness the Lord hath brought me in to possess this land: but for the wickedness of these nations the Lord doth drive them out from before thee.
4 After the Lord your God has driven them out before you, do not say to yourself, "The Lord has brought me here to take possession of this land because of my righteousness." No, it is on account of the wickedness of these nations that the Lord is going to drive them out before you.
4 "Do not say in your heart, after the Lord your God has thrust them out before you, 'It is because of my righteousness that the Lord has brought me in to possess this land,' whereas it is because of the wickedness of these nations that the Lord is driving them out before you.
4 But when God pushes them out ahead of you, don't start thinking to yourselves, "It's because of all the good I've done that God has brought me in here to dispossess these nations." Actually it's because of all the evil these nations have done.
4 Do not think in your heart, after the Lord your God has cast them out before you, saying, 'Because of my righteousness the Lord has brought me in to possess this land'; but it is because of the wickedness of these nations that the Lord is driving them out from before you.
4 "After the Lord your God has done this for you, don't say in your hearts, 'The Lord has given us this land because we are such good people!' No, it is because of the wickedness of the other nations that he is pushing them out of your way.
Matthew Henry's Commentary on Deuteronomy 9:4
Commentary on Deuteronomy 9:1-6
(Read Deuteronomy 9:1-6)
Moses represents the strength of the enemies they were now to encounter. This was to drive them to God, and engage their hope in him. He assures them of victory, by the presence of God with them. He cautions them not to have the least thought of their own righteousness, as if that procured this favour at God's hand. In Christ we have both righteousness and strength; in Him we must glory, not in ourselves, nor in any sufficiency of our own. It is for the wickedness of these nations that God drives them out. All whom God rejects, are rejected for their own wickedness; but none whom he accepts are accepted for their own righteousness. Thus boasting is for ever done away: see Ephesians 2:9,11,12.