Exodus 17-18

1 Then all the congregation of the children of Israel set out on their journey from the Wilderness of Sin, according to the commandment of the Lord, and camped in Rephidim; but there was no water for the people to drink. 2 Therefore the people contended with Moses, and said, “Give us water, that we may drink.” So Moses said to them, “Why do you contend with me? Why do you tempt the Lord?” 3 And the people thirsted there for water, and the people complained against Moses, and said, “Why is it you have brought us up out of Egypt, to kill us and our children and our livestock with thirst?” 4 So Moses cried out to the Lord, saying, “What shall I do with this people? They are almost ready to stone me!” . . .
— EXODUS 17-18