Deuteronomy 1:41-46 - Unsuccessful Conquest Of Canaan
41 And you answered and said to me, We have sinned against Jehovah; we will go up and fight according to all that Jehovah our God commanded us. And when each one of you had buckled on his weapons of war, you were ready to go up into the hill.
42 But Jehovah said to me, Say to them, Do not go up, nor fight, for I am not among you, you will be beaten by your enemies. 43 So I spoke to you. And you would not hear, but rebelled against the command of Jehovah, and went presumptuously into the hill. 44 And the Amorites who lived in that mountain came out against you and chased you, even as bees do, and destroyed you in Seir, to Hormah. 45 And you returned and wept before Jehovah. But Jehovah would not listen to your voice, nor give ear to you. 46 So you stayed in Kadesh many days, according to the days that you remained.