Deuteronomy 8:1-3 Amplified Bible, Classic Edition (AMPC)
8 All the commandments which I command you this day you shall be watchful to do, that you may live and multiply and go in and possess the land which the Lord swore to give to your fathers.
2 And you shall [earnestly] remember all the way which the Lord your God led you these forty years in the wilderness, to humble you and to prove you, to know what was in your [mind and] heart, whether you would keep His commandments or not.
3 And He humbled you and allowed you to hunger and fed you with manna, which you did not know nor did your fathers know, that He might make you recognize and personally know that man does not live by bread only, but man lives by every word that proceeds out of the mouth of the Lord.
Deuteronomy 8:1-3 New International Version (NIV)
Do Not Forget the Lord
8 Be careful to follow every command I am giving you today, so that you may live and increase and may enter and possess the land the Lord promised on oath to your ancestors. 2 Remember how the Lord your God led you all the way in the wilderness these forty years, to humble and test you in order to know what was in your heart, whether or not you would keep his commands. 3 He humbled you, causing you to hunger and then feeding you with manna, which neither you nor your ancestors had known, to teach you that man does not live on bread alone but on every word that comes from the mouth of the Lord.