And when he says: I will make the land of Egypt deserted in the midst of deserted lands, he means the Philistines, the Edomites and the Moabites and all the other regions against which the prophet's oracle stands above —; then he will scatter or sow the Egyptians among the nations and winnow them into the lands, and, because The Lord is merciful and compassionate, patient and of many mercies, after forty years there is the restoration of Egypt, and the whole captivity will be brought back to its ancient soil and settled in the metropolis, which is called Pathros, where it arose and from which ...it set out, only on condition that, for its own good, it loses its ancient pride and is a lowly kingdom, indeed the lowliest of all nations, and is no longer lifted up against the nations nor has rule over them, but, reduced to fewness, by no means deceives the house of Israel by confidence in itself, nor teaches them iniquity, or recalls them to the memory of iniquity, in that, having forsaken the help of God, they sought the support of Egypt; and all these things will happen so that a third time the Egyptians may know that he himself is the Lord. These things we have touched on in brief discourse, laying the foundations of the history.
Source: Commentary on Ezekiel