Ezekiel 29:12-21 NRS

12 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.
13 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;
14 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.
15 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.
16 The Egyptians a 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

      17 In the twenty-seventh year, in the first month, on the first day of the month, the word of the Lord came to me:
      18 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.
      19 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.
      20 I have given him the land of Egypt as his payment for which he labored, because they worked for me, says the Lord God.
      21 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.