Exodus 15:23-24

15:23 Then they came to Marah, but they were not able to drink the waters of Marah, because they were bitter. (That is why its name was Marah.)

15:24 So the people murmured against Moses, saying, “What can we drink?”

Exodus 17:1-4

Water at Massa and Meribah

17:1 The whole community of the Israelites traveled on their journey from the Desert of Sin according to the Lord’s instruction, and they pitched camp in Rephidim. Now there was no water for the people to drink. 17:2 So the people contended with Moses, and they said, “Give us water to drink!” Moses said to them, “Why do you contend with me? Why do you test the Lord?” 17:3 But the people were very thirsty there for water, and they murmured against Moses and said, “Why in the world did you bring us up out of Egypt – to kill us and our children and our cattle with thirst?”

17:4 Then Moses cried out to the Lord, “What will I do with this people? – a little more and they will stone me!”