Therefore thus saith the Lord GOD; Behold, I will bring a sword upon thee, and cut off man and beast out of thee. And the land of Egypt shall be desolate and waste; and they shall know that I am the LORD: because he hath said, The river is mine, and I have made it. Behold, therefore I am against thee, and against thy rivers, and I will make the land of Egypt utterly waste and desolate, from the tower of Syene even unto the border of Ethiopia. No foot of man shall pass through it, nor foot of beast shall pass through it, neither shall it be inhabited forty years. And I will make the land of Egypt desolate in the midst of the countries that are desolate, and her cities among the cities that are laid waste shall be desolate forty years: and I will scatter the Egyptians among the nations, and will disperse them through the countries.
This passage is one of the most erroneous in the entire Bible. Egypt has never been a desolate waste, there has never been a time when people have not walked through it, there has never been a period of forty years when Egypt was uninhabited, and it has never been surrounded by other desolate countries.
In Ezekiel 30:10-11 he further predicts that Nebuchadnezzar will destroy Egypt:
This is what the Sovereign LORD says: I will put an end to the hordes of Egypt by the hand of Nebuchadnezzar king of Babylon. He and his army—the most ruthless of nations— will be brought in to destroy the land. They will draw their swords against Egypt and fill the land with the slain. (NIV)
However, Nebuchadnezzar was defeated in his only attempt to invade Egypt