Deuteronomy 8:2
ESV
And you shall remember the whole way that the Lord your God has led you these forty years in the wilderness, that he might humble you, testing you to know what was in your heart, whether you would keep his commandments or not.
NIV
Remember how the Lord your God led you all the way in the wilderness these forty years, to humble and test you in order to know what was in your heart, whether or not you would keep his commands.
NASB
And you shall remember all the way which the Lord your God has led you in the wilderness these forty years, in order to humble you, putting you to the test, to know what was in your heart, whether you would keep His commandments or not.
CSB
Remember that the Lord your God led you on the entire journey these forty years in the wilderness, so that he might humble you and test you to know what was in your heart, whether or not you would keep his commands.
NLT
Remember how the Lord your God led you through the wilderness for these forty years, humbling you and testing you to prove your character, and to find out whether or not you would obey his commands.
KJV
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.
NKJV
And you shall remember that the Lord your God led you all the way these forty years in the wilderness, to humble you and test you, to know what was in your heart, whether you would keep His commandments or not.