1 Corinthians 10:5

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

Hebrews 3:16-19

For some, when they had heard, did bitterly provoke; yet, not all that 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
But with the most of them God was not well pleased, for they were overthrown in the wilderness.
Hebrews 3:16
For some, when they had heard, did bitterly provoke; yet, not all that came out of Egypt by Moses.