Deuteronomy 4:19
4:19 When you look up to the sky and see the sun, moon, and stars – the whole heavenly creation – you must not be seduced to worship and serve them, for the Lord your God has assigned them to all the people of the world.
Deuteronomy 9:4
9: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.