Deuteronomy 1:36-46 NIRV

36 "Only Caleb will see the land. He is the son of Jephunneh. I will give him and his children after him the land he walked on. He followed me with his whole heart."
37 Because of you, the LORD became angry with me also. He said, "You will not enter the land either.
38 But Joshua, the son of Nun, is your helper. Joshua will enter the land. Help him to be brave. Give him hope. He will lead Israel to take the land as their own.
39 "You said your little ones would be taken prisoner. But they will enter the land. They do not know right from wrong yet. But I will give them the land. They will take it as their own.
40 As for you, turn around. Start out toward the desert. Go along the road that leads to the Red Sea."
41 Then you replied, "We have sinned against the Lord. We will go up and fight. We'll do just as the LORD our God has commanded us." So all of you got your swords and put them on. You thought it would be easy to go up into the hill country.
42 But the LORD spoke to me. He said, "Tell them, 'Do not go up and fight. I will not be with you. Your enemies will win the battle over you.' "
43 So I told you what the LORD said. But you wouldn't listen. You refused to obey his command. You were so filled with pride that you marched up into the hill country.
44 The Amorites who lived in those hills came out and attacked you. Like large numbers of bees they chased you. They beat you down from Seir all the way to Hormah.
45 You came back and sobbed in front of the Lord. But he didn't pay any attention to your sobs. He wouldn't listen to you.
46 So you stayed in Kadesh for many years. You spent a long time in that area.