Deuteronomy 1:44-46

44 Then the Amorites who lived in those hills came out against you like a swarm of bees. They chased you as far as Hormah and defeated you there in the hill country of Edom.

45 So you cried out to the LORD for help, but he would not listen to you or pay any attention to you.

46 "So then, after we had stayed at Kadesh for a long time,