Deuteronomy 4:25

New International Version Bible (NIV)
After you have had children and grandchildren and have lived in the land a long time—if you then become corrupt and make any kind of idol, doing evil in the eyes of the Lord your God and arousing his anger,

Read Deuteronomy 4:25 in other translations