Deuteronomy 30:2-3

BSB(i) 2 and when you and your children return to the LORD your God and obey His voice with all your heart and all your soul according to everything I am giving you today, 3 then He will restore you from captivity and have compassion on you and gather you from all the nations to which the LORD your God has scattered you.