All the kingdom of King Og was in that land. King Og ruled in Bashan. In the past he ruled in Ashtaroth and Edrei. Og was from the Rephaites. In the past Moses had defeated those people and had taken their land.
The Horites also lived in Seir in the past. Then Esau’s people destroyed the Horites, took their land, and settled there, just as the Israelites did to the people in the land that the Lord gave them.)
He gave them these laws while they were on the east side of the Jordan River, in the valley across from Beth Peor. They were in the land of Sihon, the Amorite king who lived at Heshbon. Moses and the Israelites had defeated Sihon when they came out of Egypt.
The Lord answered the Israelites, “You cried to me when the Egyptians, the Amorites, the Ammonites, and the Philistines hurt you. I saved you from these people.