Genesis 18:30
Then Abraham said, "Lord, please don't be angry with me, but let me ask you this. If you find only thirty good people in the city, will you destroy it?" He said, "If I find thirty good people there, I will not destroy the city."
Deuteronomy 9:5tsedaqah
You are going in to take the land, not because you are good and honest, but because these nations are evil. That is why the Lord your God will force them out ahead of you, to keep his promise to your ancestors, to Abraham, Isaac, and Jacob.