After 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.
In context
2a people great and tall, the descendants of the Anakim, whom you know, and of whom you have heard it said, “Who can stand up to the sons of Anak?” 3Know today that Yahweh your God is the one who crosses over ahead of you, a consuming fire. He will destroy them and subdue them before you, and you will drive them out and wipe them out quickly, as Yahweh has promised you. 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.