1-corinthians 10:6 - Kjv

Now these things were our examples, to the intent we should not lust after evil things, as they also lusted.