1 Corinthians 10:6; 1 Corinthians 10:11

6 Now these things are warnings for us, not to desire evil as they did.
11 Now these things happened to them as a warning, but they were written down for our instruction, upon whom the end of the ages has come.