I will make the land of Egypt a desolation among desolated countries; and her cities shall be a desolation forty years among cities that are laid waste. I will scatter the Egyptians among the nations, and disperse them among the countries.
Further, thus says the Lord God: At the end of forty years I will gather the Egyptians from the peoples among whom they were scattered;
and I will restore the fortunes of Egypt, and bring them back to the land of Pathros, the land of their origin; and there they shall be a lowly kingdom.
It shall be the most lowly of the kingdoms, and never again exalt itself above the nations; and I will make them so small that they will never again rule over the nations.
The Egyptians shall never again be the reliance of the house of Israel; they will recall their iniquity, when they turned to them for aid. Then they shall know that I am the Lord God.
References for Ezekiel 29:16
In the twenty-seventh year, in the first month, on the first day of the month, the word of the Lord came to me:
Mortal, King Nebuchadrezzar of Babylon made his army labor hard against Tyre; every head was made bald and every shoulder was rubbed bare; yet neither he nor his army got anything from Tyre to pay for the labor that he had expended against it.
Therefore thus says the Lord God: I will give the land of Egypt to King Nebuchadrezzar of Babylon; and he shall carry off its wealth and despoil it and plunder it; and it shall be the wages for his army.
I have given him the land of Egypt as his payment for which he labored, because they worked for me, says the Lord God.
On that day I will cause a horn to sprout up for the house of Israel, and I will open your lips among them. Then they shall know that I am the Lord.