Deuteronomy 8:2

2And you shall remember the whole way that the  Lord your God has led you a  these forty years in the wilderness, that he might humble you, b  testing you c  to know what was in your heart, d  whether you would keep his commandments or not.
Copyright information for ESV