Commentators explain that God's gathering of His people is not just for their benefit, but to be 'sanctified in them in the sight of the nations.' This means God's holiness, justice, and faithfulness are publicly demonstrated to the world through the restoration of His people, proving His power and character.