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.