Then you say in your heart, "My power and the might of my hand have gained me this wealth." And you shall remember the Lord your God, for it is He who gives you power to get wealth.
Read all of Deuteronomy 8 NKJV
Read Deuteronomy 8:17-18a in another translation