1 Corinthians 10:1-10; 1 Corinthians 10:18
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 baptized 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.
Consider the people of Israel: Do not those who eat the sacrifices participate in the altar?