Numbers 14:28-34
14:28 Say to them, ‘As I live, says the Lord, I will surely do to you just what you have spoken in my hearing.
14:29 Your dead bodies will fall in this wilderness – all those of you who were numbered, according to your full number, from twenty years old and upward, who have murmured against me.
14:30 You will by no means enter into the land where I swore to settle you. The only exceptions are Caleb son of Jephunneh and Joshua son of Nun.
14:31 But I will bring in your little ones, whom you said would become victims of war, and they will enjoy the land that you have despised.
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.
14:34 According to the number of the days you have investigated this land, forty days – one day for a year – you will suffer for your iniquities, forty years, and you will know what it means to thwart me.