Deuteronomy 9:4
Speak not you in your heart, after that the Yahuah your Elohim has cast them out from before you, saying, For my righteousness the Yahuah has brought me in to possess this land: but for the wickedness of these nations the Yahuah does drive them out from before you.
ā The Restored Word Bible
Context
2 A people great and tall, the children of the Anakims, whom you knowest, and you hast heard , Who can stand before the children of Anak!
3 Understand therefore this day, that the Yahuah your Elohim he which goeth over before you; a consuming fire he shall destroy them, and he shall bring them down before your face: so shall you drive them out, and destroy them quickly, as the Yahuah has said unto you.
4 Speak not you in your heart, after that the Yahuah your Elohim has cast them out from before you, saying, For my righteousness the Yahuah has brought me in to possess this land: but for the wickedness of these nations the Yahuah does drive them out from before you.
5 Not for your righteousness, or for the uprightness of your heart, dost you go to possess their land: but for the wickedness of these nations the Yahuah your Elohim does drive them out from before you, and that he may perform the word which the Yahuah sware unto your fathers, Abraham, Isaac, and Jacob.
6 Understand therefore, that the Yahuah your Elohim giveth you not this good land to possess it for your righteousness; for you a stiffnecked people.