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.)
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.
So in the 14th year, King Kedorlaomer and the kings with him came to fight against them. Kedorlaomer and the kings with him defeated the Rephaites in Ashteroth Karnaim. They also defeated the Zuzites in Ham. They defeated the Emites in Shaveh Kiriathaim.
We destroyed them just as we destroyed the cities of King Sihon of Heshbon. We completely destroyed every city and all the people in them, even the women and the babies.