Deuteronomy 30:3

then the Lord your God will lead you away from your captivity, and he will take pity on you, and he will gather you again from all the nations to which he had dispersed you before

Other versions

King James Version

That then the LORD thy God will turn thy captivity, and have compassion upon thee, and will return and gather thee from all the nations, whither the LORD thy God hath scattered thee.

English Standard Version

then the LORD your God will restore your fortunes and have compassion on you, and he will gather you again from all the peoples where the LORD your God has scattered you.

New International Version

then the LORD your God will restore your fortunes and have compassion on you and gather you again from all the nations where he scattered you.