Numbers 14:32-33

14:32 But as for you, your dead bodies will fall in this wilderness, 14:33 and your children will wander in the wilderness forty years and suffer for your unfaithfulness, until your dead bodies lie finished in the wilderness.

Numbers 32:13-15

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.”

Deuteronomy 4:3-6

4:3 You have witnessed what the Lord did at Baal Peor, how he eradicated from your midst everyone who followed Baal Peor. 4:4 But you who remained faithful to the Lord your God are still alive to this very day, every one of you. 4:5 Look! I have taught you statutes and ordinances just as the Lord my God told me to do, so that you might carry them out in the land you are about to enter and possess. 4:6 So be sure to do them, because this will testify of your wise understanding to the people who will learn of all these statutes and say, “Indeed, this great nation is a very wise people.”

Psalms 78:6-8

78:6 so that the next generation, children yet to be born,

might know about them.

They will grow up and tell their descendants about them.

78:7 Then they will place their confidence in God.

They will not forget the works of God,

and they will obey his commands.

78:8 Then they will not be like their ancestors,

who were a stubborn and rebellious generation,

a generation that was not committed

and faithful to God.