Exodus 15:22-26 Holman Christian Standard Bible (HCSB)
22 Then Moses led Israel on from the Red Sea, and they went out to the Wilderness of Shur. They journeyed for three days in the wilderness without finding water. 23 They came to Marah, but they could not drink the water at Marah because it was bitter—that is why it was named Marah.[a] 24 The people grumbled to Moses, “What are we going to drink?” 25 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.
He made a statute and ordinance for them at Marah and He tested them there. 26 He said, “If you will carefully obey the Lord your God, do what is right in His eyes, pay attention to His commands, and keep all His statutes, I will not inflict any illnesses on you that I inflicted on the Egyptians. For I am Yahweh who heals you.”