Deuteronomy 1:36-46 TMB

36 save Caleb the son of Jephunneh; he shall see it, and to him will I give the land that he hath trodden upon, and to his children, because he hath wholly followed the LORD.'
37 Also the LORD was angry with me for your sakes, saying, `Thou also shalt not go in thither.
38 But Joshua the son of Nun, who standeth before thee, he shall go in thither. Encourage him, for he shall cause Israel to inherit it.
39 Moreover your little ones, who ye said should be a prey, and your children, who in that day had no knowledge between good and evil, they shall go in thither; and unto them will I give it, and they shall possess it.
40 But as for you, turn you, and take your journey into the wilderness by the way of the Red Sea.'
41 "Then ye answered and said unto me, `We have sinned against the LORD. We will go up and fight, according to all that the LORD our God commanded us.' And when ye had girded on every man his weapons of war, ye were ready to go up onto the hill.
42 And the LORD said unto me, `Say unto them: Go not up, neither fight, for I am not among you, lest ye be smitten before your enemies.'
43 So I spoke unto you, and ye would not hear, but rebelled against the commandment of the LORD, and went presumptuously up onto the hill.
44 And the Amorites, who dwelt in that mountain, came out against you and chased you as bees do, and destroyed you in Seir, even unto Hormah.
45 And ye returned and wept before the LORD; but the LORD would not hearken to your voice, nor give ear unto you.
46 So ye abode in Kadesh many days, according unto the days that ye abode there.