These two phrases mean the same thing and emphasize that the enemy will come from a nation that is very far away from Israel. (See: [[rc://en/ta/man/translate/figs-doublet]])
# from the ends of the earth
This is an idiom. AT: "from places that you know nothing about" (See: [[rc://en/ta/man/translate/figs-idiom]])