“Moreover, brethren, I would not that ye should be ignorant, how that all our fathers were under the cloud, and all passed through the sea; and were all baptized unto Moses in the cloud and in the sea; and did all eat the same spiritual meat; and did all drink the same spiritual drink: for they drank of that spiritual Rock that followed them: and that Rock was Christ.
But with many of them God was not well pleased: for they were overthrown in the wilderness. Now these things were our examples, to the intent we should not lust after evil things, as they also lusted. Neither be ye idolaters, as some of them; as it is written, ‘The people sat down to eat and drink, and rose up to play.’ Neither let us commit fornication, as some of them committed, and fell in one day three and twenty thousand. Neither let us tempt Christ, as some of them also tempted, and were destroyed of serpents. Neither murmur ye, as some of them also murmured, and were destroyed of the destroyer.” 1 Corinthians 10:1-10 (KJB)
References: Exodus 13:21; 16:25;17:6; 12:23; 32:6 Deuteronomy 1:33; Nehemiah 9:12, 15; Numbers 11:4; 25:1; Psalm 106:14, 29
“Your glorying is not good. Know ye not that a little leaven leaveneth the whole lump? Purge out therefore the old leaven, that ye may be a new lump, as ye are unleavened. For even Christ our passover is sacrificed for us: therefore let us keep the feast, not with old leaven, neither with the leaven of malice and wickedness; but with the unleavened of sincerity and truth. I wrote unto you in an epistle not to company with fornicators: yet not altogether with the fornicators of this world, or with the covetous, or extortioners, or with idolaters; for then must ye needs go out of the world.
But now I have written unto you not to keep company, if any man that is called a brother be a fornicator, or covetous, or an idolater, or a railer, or a drunkard, or an extortioner; with such an one no not to eat. For what have I to do to judge them also that are without? Do not ye judge them that are within? But them that are without God judgeth. Therefore put away from among yourselves that wicked person.” 1 Corinthians 5:6-13 (KJB)
References: 1 Corinthians 3:21; 2 Timothy 2:17; Exodus 12:15; John 17:15; 1 John 5:19; Deuteronomy 13:5