וַיְהִ֗י בִּימֵי֙ אַמְרָפֶ֣ל מֶֽלֶךְ־שִׁנְעָ֔ר אַרְי֖וֹךְ מֶ֣לֶךְ אֶלָּסָ֑ר כְּדָרְלָעֹ֙מֶר֙ מֶ֣לֶךְ עֵילָ֔ם וְתִדְעָ֖ל מֶ֥לֶךְ גּוֹיִֽם׃
און עס איז געװען אין די טעג פֿון אַמרָפֿל דעם מלך פֿון שִנעָר, אַריאָך דעם מלך פֿון אֶלָסָר, כּדָרלעומֶר דעם מלך פֿון עֵילָם, און תִּדעָל דעם מלך פֿון גױִם,
Ibn Ezra
They come from a far country. They come from the country of Elam.7The Elam mentioned by I. E. cannot be the Elam of Dan. 8:2, the Persian province with the capital Susa, which is in the immediate neighbourhood of Babylonia, and by no means more entitled to be called a far country with regard to Babylon than Media, named in this same chapter (ver. 17.) The remark of I. E. is probably based on Is. 21:2, Go up, Elam, &c. and he seems to suppose that there was, besides the west Persian province Elymais, including Susiana, Dan. 8:2, another Elam or Elymais, an independent state in the north and east of Media and Persia (comp. Jer. 49:34, Ez. 32:24). The Elamites, warlike Semitic tribes (comp. Gen. 14:1, 10:22), had spread over the whole of the country between the Caspian Sea and the Persian Gulf, and left here and there traces of their conquests. Hence the Elymais, in the west of Persia, and another Elymais, in the north of Media; hence the great uncertainty and discrepancy among the ancient geographers and historians concerning the extent and position of Elymais. (See Smith’s Dict. of Greek and Rom. Geogr. sub voce Elymais; Niebuhr, Assur and Babel, p. 382, ff.) From the end of heaven. As if they came from the extremity of heaven; that is, they come from a great distance.
Rashi
than the multitude of many wicked men Amraphel and his allies initiated a war in the world for the purpose of capturing Lot and provoking Abraham, but the few who were with Abraham succeeded and wiped out all those armies.