Exodus 15:22-27 (ESV)

22 Then Moses made Israel set out from the Red Sea, and they went into the wilderness of Shur. They went three days in the wilderness and found no water. 23 When they came to Marah, they could not drink the water of Marah because it was bitter; therefore it was named Marah. 24 And the people grumbled against Moses, saying, “What shall we drink?” 25 And he cried to the Lord, and the Lord showed him a log, and he threw it into the water, and the water became sweet.

There the Lord made for them a statute and a rule, and there he tested them, 26 saying, “If you will diligently listen to the voice of the Lord your God, and do that which is right in his eyes, and give ear to his commandments and keep all his statutes, I will put none of the diseases on you that I put on the Egyptians, for I am the Lord, your healer.”

27 Then they came to Elim, where there were twelve springs of water and seventy palm trees, and they encamped there by the water.