For this is what the Lord GOD says: At the end of forty years I will gather the Egyptians from the nations to which they were scattered.
Pride uttered aloud, The river is mine, I made it, is enough to ruin a whole nation. God will strip Egypt bare: the sword cuts man and beast, the land spills out its people into desolation, and those who thought they held the balance of power become contemptible. But He does not leave them forever; restoration follows after forty years of waste.
AI summary
Commenting on Ezekiel 29:8-16
Yet thus saith the Lord God, at the end of forty years,.... Reckoning from its devastation by Nebuchadnezzar to the taking of Babylon by Cyrus: will I gather the Egyptians from the people whither they were scattered; from Babylon, and other places; Cyrus very probably being stirred up by the Lord to proclaim liberty to the Egyptians, as he did to the Jews, to return...
Will I gather the Egyptians - It is probable that Cyrus gave permission to the Egyptians brought to Babylon by Nebuchadnezzar, to return to their own country. And if we reckon from the commencement of the war against Pharaoh-hophra by Nebuchadnezzar, to the third or fourth year of Cyrus, the term will be about forty years.