The LORD spoke to Moses and Aaron:
References for Numbers 14:26
How long will this wicked community complain against me? I've heard the Israelites' dissent as they continue to complain against me.
Say to them, "As I live," says the LORD, "just as I've heard you say, so I'll do to you.
Your dead bodies will fall in this desert. None of you who were enlisted and were registered from 20 years old and above, who complained against me,
will enter the land in which I promised to settle you, with the exception of Caleb, Jephunneh's son, and Joshua, Nun's son.
References for Numbers 14:30
But your children, whom you said would be taken by force, I'll bring them in and they will know the land that you rejected.
Your bodies, however, will fall in this desert,
and your children will be shepherds in the desert for forty years. They will suffer for your unfaithfulness, until the last of your bodies fall in the desert.
For as many days as you explored the land, that is, forty days, just as many years you'll bear your guilt, that is, forty years. This is how you will understand my frustration."