“You gave them kingdoms and nations; you gave them more land. They took over the country of Sihon king of Heshbon and the country of Og king of Bashan.
They came into this land and took it for their own, but they did not obey you or follow your teachings. They did not do everything you commanded. So you made all these terrible things happen to them.
When I had brought them into the land I promised to give them, they saw every high hill and every leafy tree. There they offered their sacrifices to gods. They brought offerings that made me angry and burned their incense and poured out their drink offerings.
This was after the Lord had defeated Sihon and Og. Sihon was king of the Amorite people and lived in Heshbon. Og was king of Bashan and lived in Ashteroth and Edrei.
They were in the valley near Beth Peor, east of the Jordan River, in the land of Sihon. Sihon king of the Amorites ruled in Heshbon and was defeated by Moses and the Israelites as they came out of Egypt.
As they chased the enemy down the Beth Horon Pass to Azekah, the Lord threw large hailstones on them from the sky and killed them. More people were killed by the hailstones than by the Israelites’ swords.
Joshua took control of all the land of Israel as the Lord had told Moses to do long ago. He gave the land to Israel, because he had promised it to them. Then Joshua divided the land among the tribes of Israel, and there was peace in the land.