Deuteronomy 9:5
ESV
Not because of your righteousness or the uprightness of your heart are you going in to possess their land, but because of the wickedness of these nations the Lord your God is driving them out from before you, and that he may confirm the word that the Lord swore to your fathers, to Abraham, to Isaac, and to Jacob.
NIV
It is not because of your righteousness or your integrity that you are going in to take possession of their land; but on account of the wickedness of these nations, the Lord your God will drive them out before you, to accomplish what he swore to your fathers, to Abraham, Isaac and Jacob.
NASB
It is not because of your righteousness or the uprightness of your heart that you are going in to take possession of their land, but it is because of the wickedness of these nations that the Lord your God is driving them out from before you, and in order to confirm the oath which the Lord swore to your fathers, to Abraham, Isaac, and Jacob.
CSB
You are not going to take possession of their land because of your righteousness or your integrity. Instead, the Lord your God will drive out these nations before you because of their wickedness, in order to fulfill the promise he swore to your fathers, Abraham, Isaac, and Jacob.
NLT
It is not because you are so good or have such integrity that you are about to occupy their land. The Lord your God will drive these nations out ahead of you only because of their wickedness, and to fulfill the oath he swore to your ancestors 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.
NKJV
It is not because of your righteousness or the uprightness of your heart that you go in to possess their land, but because of the wickedness of these nations that the Lord your God drives them out from before you, and that He may fulfill the word which the Lord swore to your fathers, to Abraham, Isaac, and Jacob.