Deuteronomy 8:2-5 NIV

2 Remember how the LORD your God led1 you all the way in the desert these forty years, to humble you and to test2 you in order to know what was in your heart, whether or not you would keep his commands.

References for Deuteronomy 8:2

3 He humbled3 you, causing you to hunger and then feeding you with manna,4 which neither you nor your fathers had known, to teach5 you that man does not live on bread6 alone but on every word that comes from the mouth7 of the LORD.8
4 Your clothes did not wear out and your feet did not swell during these forty years.9

References for Deuteronomy 8:4

5 Know then in your heart that as a man disciplines his son, so the LORD your God disciplines you.10

References for Deuteronomy 8:5