This was after he defeated Sihon and Og. (Sihon was the king of the Amorites and lived in Heshbon. Og was the king of Bashan and lived in Ashtaroth and Edrei.)
As your army went forward, I sent the Hornet ahead of them and made the people leave the land, as I did to the two Amorite kings. It was not your swords and bows that brought you victory!
You gave them kingdoms and nations, and you gave them faraway places where few people live. They got the land of King Sihon of Heshbon. They got the land of King Og of Bashan.