Deuteronomy 9:5

5 You are not going in to take over their land because you have done what is right or honest. It's because those nations are so evil. That's why the LORD your God will drive them out ahead of you. He will do what he said he would do. He took an oath and made a promise to your fathers. He made it to Abraham, Isaac and Jacob.

Deuteronomy 9:5 In-Context

3 But today you can be sure the LORD your God will go over there ahead of you. He is like a fire that will burn them up. He'll destroy them. He'll bring them under your control. You will drive them out. You will put an end to them quickly, just as the LORD has promised you.
4 The LORD your God will drive them out to make room for you. When he does, don't say to yourselves, "The LORD has done it because we are godly. That's why he brought us here to take over this land." That isn't true. The LORD is going to drive out those nations to make room for you because they are very evil.
5 You are not going in to take over their land because you have done what is right or honest. It's because those nations are so evil. That's why the LORD your God will drive them out ahead of you. He will do what he said he would do. He took an oath and made a promise to your fathers. He made it to Abraham, Isaac and Jacob.
6 The LORD your God is giving you this good land to take as your own. But you must understand that it isn't because you are a godly nation. In fact, you are stubborn.
7 Here is something you must remember. Never forget it. You made the LORD your God angry in the desert. You refused to obey him from the day you left Egypt until you arrived here.
Holy Bible, New International Reader's Version® Copyright © 1995, 1996, 1998 by Biblica.   All rights reserved worldwide.