Was Egypt Devastated, as Ezekiel 29:1-16 Predicted?

Skeptics and critics have asserted that Ezekiel’s prophecy is false. Was Egypt literally devastated, as Ezekiel 29:1-16 predicted? Could the prophecy have only been fulfilled in a figurative sense?
Here an example of the assertions of skeptics and critics of the Bible:
Possibly the most pessimistic of the Old Testament prophets, Ezekiel proclaimed impending doom upon everyone from Judah itself to the enemy nations surrounding it. The failure of his prophecies to materialize as he predicted makes a compelling argument against the Bible inerrancy doctrine. In one of his doom’s-day prophecies, Egypt was to experience forty years of utter desolation: