Deuteronomy 4:25-31 NKJV
“When you beget children and grandchildren and have grown old in the land, and act corruptly and make a carved image in the form of anything, and do evil in the sight of the LORD your God to provoke Him to anger, I call heaven and earth to witness against you this day, that you will soon utterly perish from the land which you cross over the Jordan to possess; you will not prolong your days in it, but will be utterly destroyed. And the LORD will scatter you among the peoples, and you will be left few in number among the nations where the LORD will drive you. And there you will serve gods, the work of men’s hands, wood and stone, which neither see nor hear nor eat nor smell. But from there you will seek the LORD your God, and you will find Him if you seek Him with all your heart and with all your soul. When you are in distress, and all these things come upon you in the latter days, when you turn to the LORD your God and obey His voice (for the LORD your God is a merciful God), He will not forsake you nor destroy you, nor forget the covenant of your fathers which He swore to them.
NKJV: New King James Version