Devarim (Deuteronomy): Eikev > Ch 8
Moses tells Israelites: “G-d afflicted you and then fed you manna, which you did not know”
Every commandment that I command you this day you shall keep to do, that you may live and multiply, and come and possess the land that the Lord swore to your forefathers. And you shall remember the entire way on which the Lord, your G-d, led you these forty years in the desert, in order to afflict you to test you, to know what is in your heart, whether you would keep His commandments or not. And He afflicted you and let you go hungry, and then fed you with manna, which you did not know, nor did your forefathers know, so that He would make you know that man does not live by bread alone, but rather by, whatever comes forth from the mouth of the Lord does man live. Your clothing did not wear out upon you, nor did your foot swell these forty years.
Moses tells Israelites: “You shall know in your heart, that just as a man chastises his son, so does the Lord, your G-d, chastise you”
And you shall keep the commandments of the Lord your G-d, to go in His ways, and to fear Him. For the Lord your G-d is bringing you to a good land, a land with brooks of water, fountains and depths, that emerge in valleys and mountains, a land of wheat and barley, vines and figs and pomegranates, a land of oil producing olives and honey, a land in which you will eat bread without scarcity, you will lack nothing in it, a land whose stones are iron, and out of whose mountains you will hew copper.
And you will eat and be sated, and you shall bless the Lord, your G-d, for the good land He has given you.
Moses tells Israelites: “If you forget the Lord your G-d and follow other gods, and worship them, and prostrate yourself before them, I bear witness against you this day, that you will surely perish”
Beware that you do not forget the Lord, your G-d, by not keeping His commandments, His ordinances, and His statutes, which I command you this day, lest you eat and be sated, and build good houses and dwell therein, and your herds and your flocks multiply, and your silver and gold increase, and all that you have increases, and your heart grows haughty, and you forget the Lord, your G-d, Who has brought you out of the land of Egypt, out of the house of bondage, Who led you through that great and awesome desert, [in which were] snakes, vipers and scorpions, and drought, where there was no water; who brought water for you out of solid rock, Who fed you with manna in the desert, which your forefathers did not know, in order to afflict you and in order to test you, to benefit you in your end, and you will say to yourself, "My strength and the might of my hand that has accumulated this wealth for me."
But you must remember the Lord your G-d, for it is He that gives you strength to make wealth, in order to establish His covenant which He swore to your forefathers, as it is this day. And it will be, if you forget the Lord your G-d and follow other gods, and worship them, and prostrate yourself before them, I bear witness against you this day, that you will surely perish. As the nations that the Lord destroys before you, so will you perish; since you will not obey the Lord your G-d.