Deuteronomy 3:20
Context3:20 You must fight 1 until the Lord gives your countrymen victory 2 as he did you and they take possession of the land that the Lord your God is giving them on the other side of the Jordan River. Then each of you may return to his own territory that I have given you.”
Deuteronomy 9:4
Context9:4 Do not think to yourself after the Lord your God has driven them out before you, “Because of my own righteousness the Lord has brought me here to possess this land.” It is because of the wickedness of these nations that the Lord is driving them out ahead of you.