The Lord will come into Egypt quickly, with judgement. There will be anarchy, war, division among all the people. They will look for foolish diviners and easy answers to their problems (v. 1-3)
The land will be conquered by a cruel master. Either by design or nature, the land will become barren, and unable to support life. There will be no resources (v. 4-10).
The glory of Egypt is removed (v. 11-16).
They will fear their coming destruction, knowing it has been decreed to them by the Lord (v. 17).
The righteous will come, people will be converted, the nation redeemed and saved by the power of the Lord, blessed as Israel (v. 19-25).
I'm a little lost on the continuity and connection between v. 17-20. I'm not sure those breaks are accurate. Something doesn't make sense.