1 Corinthians 1o
6 Now these things were our examples, to the intent we should not lust after evil things, as they also lusted -kjv
6 Now these things were our examples, to the intent we should not lust after evil things, as they also lusted -niv
6 Now these things became examples for us, so that we will not desire evil things as they did. -hcsb
These things refer to what happened to the Israelites when they were trapped for 40 years in the wilderness. The Israelites were punished for many of the actions they took because of their evil desires.
In 1 Corinthians 10:7-10 talked about the evil things that they did:
1) They were idolaters
2) They committed sexual immorality
3) They tested Christ
4) They complained