1 Corinthians 10:5-6

ISV(i) 5 But God wasn’t pleased with most of those people, and so they were struck down in the wilderness.
6 Now their experiences serve as examples for us so that we won’t set our hearts on evil as they did.