Deuteronomy 1:39-46

39 Moreover your little ones, who you said would become a prey, and your children, who this day have no knowledge of good or evil, shall go in there, and to them I will give it, and they shall possess it.
40 But as for you, turn, and journey into the wilderness in the direction of the Red Sea.'
41 "Then you answered me, 'We have sinned against the LORD; we will go up and fight, just as the LORD our God commanded us.' And every man of you girded on his weapons of war, and thought it easy to go up into the hill country.
42 And the LORD said to me, 'Say to them, Do not go up or fight, for I am not in the midst of you; lest you be defeated before your enemies.'
43 So I spoke to you, and you would not hearken; but you rebelled against the command of the LORD, and were presumptuous and went up into the hill country.
44 Then the Amorites who lived in that hill country came out against you and chased you as bees do and beat you down in Se'ir as far as Hormah.
45 And you returned and wept before the LORD; but the LORD did not hearken to your voice or give ear to you.
46 So you remained at Kadesh many days, the days that you remained there.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.