Deuteronomy 8:2
▸ Hear this chapter, lit word by wordAnd thou shalt remember all the way which the LORD thy God led thee these forty years in the wilderness, to humble thee, and to prove thee, to know what was in thine heart, whether thou wouldest keep his commandments, or no.
— Deuteronomy 8:2, King James Version
In other translations
You shall remember all the way which Yahweh your God has led you these forty years in the wilderness, that he might humble you, to prove you, to know what was in your heart, whether you would keep his commandments, or not.
And thou shalt remember all the way which Jehovah thy God hath led thee these forty years in the wilderness, that he might humble thee, to prove thee, to know what was in thy heart, whether thou wouldest keep his commandments, or not.
and thou hast remembered all the way which Jehovah thy God hath caused thee to go these forty years in the wilderness, in order to humble thee to try thee, to know that which <FI>is<Fi> in thy heart, whether thou dost keep His commands or not.