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.
So he cried out to the Lord, and the Lord showed him a tree. When he threw it into the water, the water became drinkable. The Lord made a statute and ordinance for them at Marah, and he tested them there.