Amos9:7

הֲלוֹא כִבְנֵי כֻשִׁיִּים אַתֶּם לִי בְּנֵי יִשְׂרָאֵל נְאֻם־יְהוָה הֲלוֹא אֶת־יִשְׂרָאֵל הֶעֱלֵיתִי מֵאֶרֶץ מִצְרַיִם וּפְלִשְׁתִּיִּים מִכַּפְתּוֹר וַאֲרָם מִקִּיר׃

Are you not like the children of the Kushites to Me, children of Israel? says the Eternal. Did I not bring Israel up out of the land of Egypt, and the Philistines from Kaftor, and Aram from Kir?

Amos 9:7

הֲלוֹא כִבְנֵי כֻשִׁיִּים

Amos 9:7 · Remez

Amos 9:7

הֲלוֹא כִבְנֵי כֻשִׁיִּים אַתֶּם לִי בְּנֵי יִשְׂרָאֵל נְאֻם־יְהוָה הֲלוֹא אֶת־יִשְׂרָאֵל הֶעֱלֵיתִי מֵאֶרֶץ מִצְרַיִם וּפְלִשְׁתִּיִּים מִכַּפְתּוֹר וַאֲרָם מִקִּיר׃

Are you not like the children of the Kushites to Me, children of Israel? says the Eternal. Did I not bring Israel up out of the land of Egypt, and the Philistines from Kaftor, and Aram from Kir?

Remez רֶמֶז

Known among the nations

A drop of dye in a large barrel of water disappears. And what never dissolves?

Malbim: after the prophecies of calamity Amos ends his book with comfort. The Kushites are always recognised, even among other nations. So too Israel: even in exile they are always recognised, because they are His. The Philistines and the Arameans dissolved among the nations, but Israel remained Israel. Ibn Ezra: the letter mem (מ) in the word "out of the land" (מֵאֶרֶץ) also serves other words of the verse.

How Malbim and Ibn Ezra explain it

Malbim Are you not like the children of the Kushites to Me

After the prophecies of calamity the prophet ends his book with words of comfort. He says: you are set apart for Me like the children of the Kushites, who are always distinguished and recognised and stay with their fathers by the black colour of their skin: even if they are exiled and mix with other nations, they do not dissolve in them. So too you: even if you are exiled and live among the nations, you will always be recognised, because you are Mine. For you are the children of Israel, and all who see them will recognise that they are children of the living Almighty. And the prophet brings proof of this: "did I not bring Israel up out of the land of Egypt?" Though you were long days in Egypt as exiles and slaves, you still did not mix with the Egyptians, and I brought Israel up set apart and recognisable, with its own name and lineage. But did I bring the Philistines up from Kaftor and Aram from Kir in this way? It is a question. The Philistines were conquered in ancient days by the Kaftorim, as it is said: "And the Avvim, who dwelt in villages as far as Gaza, the Kaftorim, who came out of Kaftor, destroyed them and dwelt in their place" (Devarim / Deuteronomy 2:23). And afterwards the exiles returned to the land of the Philistines, as it is said: "for the Eternal is destroying the Philistines, the remnant of the isle of Kaftor" (Yirmeyahu / Jeremiah 47:4). And still, did I bring up the Philistines? Or when I bring Aram up from its exile in Kir, where the king of Ashur exiled them, will I bring up Aram? For in exile they will mix with the nations and dissolve among them, and there will be no more Philistines and Arameans, only Kaftorim and people of Kir: they have already ceased to be the nation they were before they were exiled. Only Israel remained Israel, did not intermarry and did not mix with them, as it is said: "And their seed shall be known among the nations" (Yeshayahu / Isaiah 61:9). Consider this.

Ibn Ezra Out of the land (מֵאֶרֶץ)

The letter mem (מ) in the word "out of the land" also serves another word. And so the meaning is: I brought you up out of Egypt, and out of the Philistines, and out of Kaftor, and Aram from Kir.

Takeaway

The prefix מ (mem) in Hebrew means "out of". Sometimes one prefix in a verse applies to several words at once.
The last verses of the haftarah speak of the return from captivity: "And I will plant them upon their land" (Amos 9:15).