‏ Deuteronomy 8:2

2And you shall remember the whole way that the Lord your God has led you athese forty years in the wilderness, that he might humble you, btesting you cto know what was in your heart, dwhether you would keep his commandments or not.
Copyright information for ESV