וְשָׁב ה’ אֱלֹקיךָ אֶת שְׁבוּתְךָ וְרִחֲמֶךָ וְשָׁב וְקִבֶּצְךָ מִכָּל הָעַמִּים אֲשֶׁר הֱפִיצְךָ ה’ אֱלֹקיךָ שָׁמָּה
Then Hashem your G-d will turn your captivity and have compassion upon you, and will return and gather you from all the peoples, where Hashem your G-d has scattered you.
The 14th bracha of Shemoneh Esrei is Binyan Yerushalayim, the rebuilding of Jerusalem. In this verse, G-d says that He will return the people from exile. The Talmud in Megillah (29a) explains that when God exiles the Jews, He also exiles the Shechinah (His Presence) to some degree. When the Jews return, He metaphorically comes back with them.