The time of the pagan - The time when the pagan (Egyptians) shall be judged.
Matthew Henry
Concise Bible Commentary
The prophecy of the destruction of Egypt is very full. Those who take their lot with God's enemies, shall be with them in punishment. The king of Babylon and his army shall be instruments of this destruction. God often makes one wicked man a scourge to another. No place in the land of Egypt shall escape the fury of the Chaldeans. The Lord is known by the judgments he executes. Yet these are only present effects of the Divine displeasure, not worthy of our fear, compared with the wrath to come, from which Jesus delivers his people.
Time of the heathen. Or, “time of the nations.” God keeps an account with the nations. He determines when their cup of iniquity is full (see 5T 208, 524; 7T 141; 9T 13; see on Dan. 4:17).