Here are some examples:
(All Bible references are taken from the English Standard Version ESV)

Deuteronomy 30:3–5
then the LORD your God will restore your fortunes and have mercy on you, and he will gather you again from all the peoples where the LORD your God has scattered you. If your outcasts are in the uttermost parts of heaven, from there the LORD your God will gather you, and from there he will take you. And the LORD your God will bring you into the land that your fathers possessed, that you may possess it. And he will make you more prosperous and numerous than your fathers.

Nehemiah 1:9
but if you return to me and keep my commandments and do them, though your outcasts are in the uttermost parts of heaven, from there I will gather them and bring them to the place that I have chosen, to make my name dwell there.’

Jeremiah 29:14
I will be found by you, declares the LORD, and I will restore your fortunes and gather you from all the nations and all the places where I have driven you, declares the LORD, and I will bring you back to the place from which I sent you into exile.

Ezekiel 11:17
Therefore say, ‘Thus says the Lord GOD: I will gather you from the peoples and assemble you out of the countries where you have been scattered, and I will give you the land of Israel.’

Ezekiel 20:34
I will bring you out from the peoples and gather you out of the countries where you are scattered, with a mighty hand and an outstretched arm, and with wrath poured out.

Zephaniah 3:20
At that time I will bring you in,
at the time when I gather you together;
for I will make you renowned and praised
among all the peoples of the earth,
when I restore your fortunes
before your eyes,” says the LORD.