1 Corinthians 10:9

Neither should we put the Lord to a test as some of them did, and were killed by snake bites [See Num. 21:5ff].

1 Corinthians 10:6

Now these events were examples for us, so that we should not have strong desires for evil things like they did.

Hebrews 3:8-10

do not have a stubborn heart like you did when you provoked [God] during the time you tested [His patience] in the desert,

Treasury of Scripture Knowledge

Summary

But lusted exceedingly in the wilderness, and tempted God in the desert.

Bible References

But

1 Corinthians 10:6
Now these events were examples for us, so that we should not have strong desires for evil things like they did.

Tempted

1 Corinthians 10:9
Neither should we put the Lord to a test as some of them did, and were killed by snake bites [See Num. 21:5ff].
Hebrews 3:8
do not have a stubborn heart like you did when you provoked [God] during the time you tested [His patience] in the desert,