Ezekiel 29:12

29:12 I will turn the land of Egypt into a desolation in the midst of desolate lands; for forty years her cities will lie desolate in the midst of ruined cities. I will scatter Egypt among the nations and disperse them among foreign countries.

Ezekiel 29:19-20

29:19 Therefore this is what the sovereign Lord says: Look, I am about to give the land of Egypt to King Nebuchadrezzar of Babylon. He will carry off her wealth, capture her loot, and seize her plunder; it will be his army’s wages. 29:20 I have given him the land of Egypt as his compensation for attacking Tyre, because they did it for me, declares the sovereign Lord.

tn Heb “for which he worked,” referring to the assault on Tyre (v. 18).