King James Version (KJV) - Deuteronomy 8:2 >

And 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.

Jewish Publication Society of America Version (JPS1917) - Deuteronomy 8:2 >

And thou shalt remember all the way which the LORD thy God hath led thee these forty years in the wilderness, that He might afflict thee, to prove thee, to know what was in thy heart, whether thou wouldest keep His commandments, or no.