These phrases represent the people who live in those places. Alternate translation: "People who live on the isles ... people who live at the ends of the earth" (See: [[rc://en/ta/man/translate/figs-metonymy]])
The places on the earth that are very far away are spoken of as if they were the places where the earth ends. AT "the farthest places of the earth" (See: [[rc://en/ta/man/translate/figs-metaphor]])