Psalm 87:4

“I will mention Rahab and Babylon among those who know Me— along with Philistia, Tyre, and Cush— when I say, ‘This one was born in Zion.’”

Note Rahab is a poetic name for Egypt.

Note That is, the upper Nile region

BSB · Berean Standard Bible
I will make mention of Rahab and Babylon to them that know me: behold Philistia, and Tyre, with Ethiopia; this man was born there.
KJV · King James Version
I will record Rahab and Babylon among those who acknowledge me. Behold, Philistia, Tyre, and also Ethiopia: “This one was born there.”

Note Rahab is a reference to Egypt.

WEB · World English Bible
I will make mention of Rahab and Babylon as among them that know me: Behold, Philistia, and Tyre, with Ethiopia: This one was born there.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

Rahab
Psalm 89:10; Isaiah 51:9
Babylon
Psalm 137:1, 8, 9; 2 Kings 20:17, 18; Isaiah 13:1–22; Isaiah 14:4–6; Jeremiah 25:9; Jeremiah 50:1; Daniel 2:47, 48; Daniel 4:30; Revelation 17:5; Revelation 18:2
Tyre
Psalm 45:12; Isaiah 23:1–18; Ezekiel 27:1
Ethiopia
1 Kings 10:1–29; Acts 8:27
this man
Psalm 68:31; 1 Samuel 17:8; 2 Samuel 21:16–22; Isaiah 19:11, 23–25; Ezekiel 28:2