Numbers 32:10-15
32:10 So the anger of the Lord was kindled that day, and he swore,
32:11 ‘Because they have not followed me wholeheartedly, not one of the men twenty years old and upward who came from Egypt will see the land that I swore to give to Abraham, Isaac, and Jacob,
32:12 except Caleb son of Jephunneh the Kenizzite, and Joshua son of Nun, for they followed the Lord wholeheartedly.’
32:13 So the Lord’s anger was kindled against the Israelites, and he made them wander in the wilderness for forty years, until all that generation that had done wickedly before the Lord was finished.
32:14 Now look, you are standing in your fathers’ place, a brood of sinners, to increase still further the fierce wrath of the Lord against the Israelites.
32:15 For if you turn away from following him, he will once again abandon them in the wilderness, and you will be the reason for their destruction.”