Deuteronomy 1:41-46 - Unsuccessful Conquest Of Canaan
41 You answered: 'We have sinned against Jehovah. We will fight just as Jehovah our God commanded us.' When every man puts on his armor and weapons of war they will be ready to go to the mountain.
42 But Jehovah said to me: 'Tell them, do not go and fight! I am not with you. Your enemies will defeat you.' 43 I told you, but you would not listen. You disobeyed Jehovah's command and proudly invaded the mountainous region. 44 The Amorites who lived there came out and attacked you. They chased you like a swarm of bees. They defeated you! They drove you back from Seir all the way to Hormah. 45 You returned and cried to Jehovah. Jehovah, however, did not listen to you. He turned a deaf ear to you! 46 That is why you stayed in Kadesh as long as you did.