Deuteronomy 30:4

Even if you have been banished to the farthest horizon, He will gather you and return you from there.

Berean Standard Bible
Other translations

King James Version

If any of thine be driven out unto the outmost parts of heaven, from thence will the LORD thy God gather thee, and from thence will he fetch thee:

World English Bible

If your outcasts are in the uttermost parts of the heavens, from there the LORD your God will gather you, and from there he will bring you back.

American Standard Version

If any of thine outcasts be in the uttermost parts of heaven, from thence will Jehovah thy God gather thee, and from thence will he fetch thee:

Geneva Bible 1599

Though thou werest cast vnto the vtmost part of heauen, from thence will the Lord thy God gather thee, and from thence wil he take thee,

Darby Translation

Though there were of you driven out unto the end of the heavens, from thence will Jehovah thy God gather thee, and from thence will he fetch thee;

Young's Literal Translation

'If thine outcast is in the extremity of the heavens, thence doth Jehovah thy God gather thee, and thence He doth take thee;

Bible in Basic English

Even if those who have been forced out are living in the farthest part of heaven, the Lord your God will go in search of you, and take you back;

In context

3then 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.

5And the LORD your God will bring you into the land your fathers possessed, and you will take possession of it. He will cause you to prosper and multiply more than your fathers.

Read Deuteronomy 30