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.

James 4:2-3

You people desire something and yet do not have it, [so] you murder [to get it]. You are envious [of what someone has] and [yet] are not able to obtain it, [so] you fight and quarrel [over it]. You do not have [what you want] because you do not ask [God for it].

Treasury of Scripture Knowledge

Summary

And they tempted God in their heart by asking meat for their lust.

By asking meat

Bible References

By asking meat

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.
James 4:2
You people desire something and yet do not have it, [so] you murder [to get it]. You are envious [of what someone has] and [yet] are not able to obtain it, [so] you fight and quarrel [over it]. You do not have [what you want] because you do not ask [God for it].