When I bring them back from the peoples and gather them out of the lands of their enemies, I will show My holiness in them in the sight of many nations.
The heathen mistook Israel's ruin for proof that God could not keep His covenant; but when He restores His people after their reformation, all the world will see the truth: Israel fell not by God's weakness but by their own sin, which forfeited His favour and threw them into His enemies' hands. This turns their reproach into His glory.
AI summary
Commenting on Ezekiel 39:23-29
When I have brought them again from the people,.... That is, then shall they be ashamed, and repent of all their trespasses and sins: and gathered them out of their enemies lands; from the provinces of their enemies, as the Targum; when they are collected together in a body out of each of the nations where they are now dispersed, and brought to their own...
sanctified in them--vindicated as holy in My dealings with them.