1 Corinthians 10:5

Nevertheless with the most of them God was not well pleased, for they were destroyed in the wilderness.

Hebrews 3:16-19

For some, though they had heard, provoked him; yet not all who came out of Egypt by 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
Nevertheless with the most of them God was not well pleased, for they were destroyed in the wilderness.
Hebrews 3:16
For some, though they had heard, provoked him; yet not all who came out of Egypt by Moses.