1 Corinthians 10:1-14

1For I do not want you to be unaware, brethren, that our fathers were all under the cloud and all passed through the sea; 2and all were baptized into Moses in the cloud and in the sea; 3and all ate the same spiritual food; 4and all drank the same spiritual drink, for they were drinking from a spiritual rock which followed them; and the rock was [1] Christ. 5Nevertheless, with most of them God was not well-pleased; for they were laid low in the wilderness.
6Now these things happened as examples for us, so that we would not crave evil things as they also craved. 7Do not be idolaters, as some of them were; as it is written, [a] The people sat down to eat and drink, and stood up to play.” 8Nor let us act immorally, as some of them [1] did, and twenty-three thousand fell in one day. 9Nor let us try the Lord, as some of them [1] did, and were destroyed by the serpents. 10Nor grumble, as some of them [1] did, and were destroyed by the destroyer. 11Now these things happened to them as an example, and they were written for our instruction, upon whom the ends of the ages have come. 12Therefore let him who thinks he stands take heed that he does not fall.
13No temptation has overtaken you but such as is common to man; and God is faithful, who will not allow you to be tempted beyond what you are able, but with the temptation will provide the way of escape also, so that you will be able to endure it. 14Therefore, my beloved, flee from idolatry.