Exodus 17:1-7
The whole Israelite community set out from the Desert of Sin, travelling from place to place as the LORD commanded. They camped at Rephidim, but there was no water for the people to drink.
So they quarrelled with Moses and said, “Give us water to drink.” Moses replied, “Why do you quarrel with me? Why do you put the LORD to the test?”
But the people were thirsty for water there, and they grumbled against Moses. They said, “Why did you bring us up out of Egypt to make us and our children and livestock die of thirst?”
Then Moses cried out to the LORD, “What am I to do with these people? They are almost ready to stone me.”
The LORD answered Moses, “Walk on ahead of the people. Take with you some of the elders of Israel and take in your hand the staff with which you struck the Nile, and go. I will stand there before you by the rock at Horeb. Strike the rock, and water will come out of it for the people to drink.” So Moses did this in the sight of the elders of Israel.
And he called the place Massah and Meribah because the Israelites quarrelled and because they tested the LORD saying, “Is the LORD among us or not?”
1 Corinthians 10:1-13
For I do not want you to be ignorant of the fact, brothers, that our forefathers were all under the cloud and that they all passed through the sea.
They were all baptised into Moses in the cloud and in the sea.
They all ate the same spiritual food and drank the same spiritual drink; for they drank from the spiritual rock that accompanied them, and that rock was Christ.
Nevertheless, God was not pleased with most of them; their bodies were scattered over the desert.
Now these things occurred as examples to keep us from setting our hearts on evil things as they did.
Do not be idolaters, as some of them were; as it is written:
“The people sat down to eat and drink and got up to indulge in pagan revelry.”
We should not commit sexual immorality, as some of them did — and in one day twenty-three thousand of them died. We should not test the Lord, as some of them did — and were killed by snakes. And do not grumble, as some of them did — and were killed by the destroying angel.
These things happened to them as examples and were written down as warnings for us, on whom the fulfilment of the ages has come.
So, if you think you are standing firm, be careful that you don’t fall!
No temptation has seized you except what is common to man. And God is faithful; he will not let you be tempted beyond what you can bear. But when you are tempted, he will also provide a way out so that you can stand up under it.