Deut. 9 [NASB]
1 “Hear, O Israel! You are crossing over the Jordan today to go in to dispossess nations greater and mightier than you, great cities
fortified to heaven, 2 a people great and tall, the sons of the Anakim,
whom you know and of whom you have heard it said, ‘Who can stand
before the sons of Anak?’ 3 “Know therefore today that it is the LORD
your God who is crossing over before you as a consuming fire. He will
destroy them and He will subdue them before you, so that you may drive
them out and destroy them quickly, just as the LORD has spoken to you.
4 “Do not say in your heart when the LORD your God has driven them out before you, ‘Because of my righteousness the LORD has brought
me in to possess this land,’ but it is because of the wickedness of
these nations that the LORD is dispossessing them before you. 5 “It is
not for your righteousness or for the uprightness of your heart that
you are going to possess their land, but it is because of the
wickedness of these nations that the LORD your God is driving them out
before you, in order to confirm the oath which the LORD swore to your
fathers, to Abraham, Isaac and Jacob.