Numbers 14:23-30

14:23 they will by no means see the land that I swore to their fathers, nor will any of them who despised me see it. 14:24 Only my servant Caleb, because he had a different spirit and has followed me fully – I will bring him into the land where he had gone, and his descendants will possess it. 14:25 (Now the Amalekites and the Canaanites were living in the valleys.) Tomorrow, turn and journey into the wilderness by the way of the Red Sea.”

14:26 The Lord spoke to Moses and Aaron: 14:27 “How long must I bear with this evil congregation that murmurs against me? I have heard the complaints of the Israelites that they murmured against me. 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.