Understand, then, that it is not because of your righteousness that Yahweh your God is giving you this good land to possess, for you are a stubborn people.
In context
4After Yahweh your God has driven them out before you, do not say to yourself, “Yahweh has brought me in to possess this land because of my righteousness.” It is because of the wickedness of these nations that Yahweh is driving them out before you. 5It is not because of your righteousness or the honesty of your heart that you are going in to possess their land, but because of the wickedness of these nations that Yahweh your God is driving them out before you, and in order to fulfill the word Yahweh swore to your fathers — Abraham, Isaac, and Jacob. 6Understand, then, that it is not because of your righteousness that Yahweh your God is giving you this good land to possess, for you are a stubborn people. 7Remember — do not forget — how you provoked Yahweh your God to anger in the wilderness. From the day you left the land of Egypt until you arrived at this place, you have been rebellious against Yahweh. 8Even at Horeb you provoked Yahweh to anger, and Yahweh was angry enough with you to destroy you.