'Defeated' in the Bible
This took place after he defeated Sihon, king of the Amorites, who lived in Heshbon and Og, king of Bashan, who lived in Ashtaroth at Edrei.
"Then the LORD told me: "Tell them not to go up and fight because I will not be in their midst, or else you will be defeated before your enemies.'
He did this east of the Jordan, in the valley opposite Beth Peor, in the land of Sihon, king of the Amorites, who lived in Heshbon, and whom Moses and the Israelis defeated after leaving Egypt.
So when the LORD your God delivers them to you and you have defeated them, then utterly destroy them. You are not to make any covenant with them nor be gracious to them.
"The LORD will cause you to be defeated by your enemies. You'll go out against them in one direction, but you'll flee from them in seven directions. Consequently, you'll be in a state of great terror throughout all the kingdoms of the earth.
Then you reached this place, where King Sihon of Heshbon and King Og of Bashan had come out to meet and fight with us, but we defeated them.