Parallel
Numbers 24:20
King James Version (1769 Blayney revision, with Apocrypha) · Berean Standard Bible
And when he looked on Amalek, he took up his parable, and said, Amalek was the first of the nations (note: the nations that warred against Israel, Exod. 17); but his latter end shall be that he perish for ever.
Then Balaam saw Amalek and lifted up an oracle, saying: “Amalek was first among the nations, but his end is destruction.”