Deuteronomy 30:2-4
Deuteronomy 30:2-4 NASB1995
and you return to the LORD your God and obey Him with all your heart and soul according to all that I command you today, you and your sons, then the LORD your God will restore you from captivity, and have compassion on you, and will gather you again from all the peoples where the LORD your God has scattered you. If your outcasts are at the ends of the earth, from there the LORD your God will gather you, and from there He will bring you back.