Numbers 32:13 in the King James Version
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.
Context
12 except Caleb the son of Jephunneh the Kenizzite, and Joshua the son of Nun, because they have followed the LORD completely.’
13 The LORD’s anger burned against Israel, and he made them wander back and forth in the wilderness forty years, until all the generation who had done evil in the LORD’s sight was consumed.
14 “Behold, you have risen up in your fathers’ place, an increase of sinful men, to increase the fierce anger of the LORD toward Israel.