Deuteronomy 1:44 (ESV)

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 Seir as far as Hormah.

In a kind of holy war in reverse, the Amorites, the inhabitants of Canaan, handed a humiliating defeat to the Israelites, putting them to flight like bees because the Lord was not in their midst.