Deuteronomy 1:43-45

43 I told you what the LORD had said, but you paid no attention. You disobeyed him and went into the hill country anyway. You thought you were so great!

44 But when the Amorites in the hill country attacked from their towns, you ran from them as you would run from a swarm of bees. The Amorites chased your troops into Seir [14] as far as Hormah, killing them as they went.

45 Then you came back to the place of worship at Kadesh-Barnea and wept, but the LORD would not listen to your prayers.