22Then Moses ordered Israel to 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. 23When they came to Marah, they could not drink the water of Marah because it was bitter. That is why it was called Marah. 24And the people complained against Moses, saying, “What shall we drink?” 25He cried out to the LORD; and the LORD showed him a piece of wood; he threw it into the water, and the water became sweet.
There the LORD made for them a statute and an ordinance and there he put them to the test. 26He said, “If you will listen carefully to the voice of the LORD your God, and do what is right in his sight, and give heed to his commandments and keep all his statutes, I will not bring upon you any of the diseases that I brought upon the Egyptians; for I am the LORD who heals you.”
27Then they came to Elim, where there were twelve springs of water and seventy palm trees; and they camped there by the water.