This took place after the defeat of King Sihon of the Amorites, whose capital was in Heshbon, and King Og of Bashan, whose capital was in Ashtaroth, specifically in Edrei.
Get up, make your way across Wadi Arnon. Look! I have already delivered over to you Sihon the Amorite, king of Heshbon, and his land. Go ahead! Take it! Engage him in war!
The Lord, however, said to me, “Don’t be afraid of him because I have already given him, his whole army, and his land to you. You will do to him exactly what you did to King Sihon of the Amorites who lived in Heshbon.”
The Israelites plundered all the goods of these cities and the cattle, but they totally destroyed all the people and allowed no one who breathed to live.