"When you become the father of children and children's children and have remained long in the land, and act corruptly, and make an idol in the form of anything, and do that which is evil in the sight of the LORD your God so as to provoke Him to anger,
26I call heaven and earth to witness against you today, that you will surely perish quickly from the land where you are going over the Jordan to possess it. You shall not live long on it, but will be utterly destroyed.
27"The LORD will scatter you among the peoples, and you will be left few in number among the nations where the LORD drives you.
28"There you will serve gods, the work of man's hands, wood and stone, which neither see nor hear nor eat nor smell.
29"But from there you will seek the LORD your God, and you will find Him if you search for Him with all your heart and all your soul.
30"When you are in distress and all these things have come upon you, in the latter days you will return to the LORD your God and listen to His voice.
31"For the LORD your God is a compassionate God; He will not fail you nor destroy you nor forget the covenant with your fathers which He swore to them." Deuteronomy 4:25-31
40"So you shall keep His statutes and His commandments which I am giving you today, that it may go well with you and with your children after you, and that you may live long on the land which the LORD your God is giving you for all time." Deuteronomy 4:39-40