Deuteronomy 8:17

17Beware alest you say in your heart, ‘My power and the might of my hand have gotten me this wealth.’

Deuteronomy 9:4

4 b“Do not say in your heart, after the Lord your God has thrust them out before you, ‘It is because of my righteousness that the Lord has brought me in to possess this land,’ whereas it is cbecause of the wickedness of these nations that the Lord is driving them out before you.
Copyright information for ESV