1 Corinthians 10:5

but with many of them God was not pleased; for they were destroyed in the wilderness.

Hebrews 3:16-19

for who having heard committed provocation? Did not all indeed who came out of Egypt with Moses?

Treasury of Scripture Knowledge

Summary

And the LORD'S anger was kindled against Israel, and he made them wander in the wilderness forty years, until all the generation, that had done evil in the sight of the LORD, was consumed.

Bible References

Until all

1 Corinthians 10:5
but with many of them God was not pleased; for they were destroyed in the wilderness.
Hebrews 3:16
for who having heard committed provocation? Did not all indeed who came out of Egypt with Moses?