Deuteronomy 9: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.
ā The Restored Word Bible
Context
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.
7 Remember, forget not, how you provokedst the Yahuah your Elohim to wrath in the wilderness: from the day that you didst depart out of the land of Egypt, until ye came unto this place, ye have been rebellious against the Yahuah.