1 Corinthians 10:6; 1 Corinthians 10:11

6 Now these things became examples for us, so that we will not desire evil as they did.
11 Now these things happened to them as examples, and they were written as a warning to us, on whom the ends of the ages have come.