Exodus 15:22-25 NRSV
Then 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. When they came to Marah, they could not drink the water of Marah because it was bitter. That is why it was called Marah. And the people complained against Moses, saying, “What shall we drink?” He 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.
NRSV: New Revised Standard Version