וְשָׁ֨ב יְהוָ֧ה אֱלֹהֶ֛יךָ אֶת־שְׁבוּתְךָ֖ וְרִחֲמֶ֑ךָ וְשָׁ֗ב וְקִבֶּצְךָ֙ מִכָּל־הָ֣עַמִּ֔ים אֲשֶׁ֧ר הֱפִֽיצְךָ֛ יְהוָ֥ה אֱלֹהֶ֖יךָ שָֽׁמָּה׃
那時,永恆者你的上帝必使你被擄的人歸回,祂必憐憫你,又必轉回,從永恆者你的上帝把你分散到的萬民之中招聚你。
Mishneh Torah, Repentance
All of the prophets commanded concerning repentance; Israel will not be redeemed save by repentance. Indeed, the Torah long since assured us that in the end, at the close of the period of exile Israel will turn to repentance and be momentarily redeemed, even as it is said: "And it shall come to pass, when all these things are come upon thee, the blessings and the curse, which I have set before thee, and thou shalt bethink thyself among all the nations, whither the Lord thy God had driven thee, and shalt return unto the Lord thy God, and hearken to His voice according to all that I commanded thee this day, thou and thy children, with all thy heart, and with all thy soul; that then the Lord thy God will turn thy captivity, and have compassion upon thee, and will return and gather thee from all the peoples whither the Lord thy God hath scattered thee" (Deut. 30.14).3Yoma, 87b. C. G.
Mishneh Torah, Kings and Wars
The King Messiah will arise and re-establish the monarchy of David as it was in former times. He will build the Sanctuary and gather in the dispersed of Israel. All the earlier statutes will be restored as they once were. Sacrifices will be offered, the Sabbatical and Jubilee years will be observed, as commanded in the Torah. Anyone who does not believe in him or one who does not anticipate his coming not only denies the Prophets, but also the Torah and Moses our Teacher. For the Torah has given testimony about him saying, “And the Lord your G-d will turn your captivity and have compassion with you. He will return and gather you from all the peoples…If any of you should be dispersed at the ends of Heaven, from there G-d will gather you, from there He will fetch you. And the Lord, your G-d will bring you…” (Deut. 30:3-4). These matters are explicit in the Torah and include everything said by all the Prophets. It is even written in the Chapter of Balaam who prophesized about both the Messiahs. The first Messiah was David who saved Israel from her adversities. The final Messiah will be from his sons and will deliver Israel from the hands of the descendants of Esau. There it says, “I shall see him, but not now” (Numbers 24:17) - this refers to David; “I behold him, and not soon” (ibid.) - this is the King Messiah; “A star from Jacob shall step forth” (ibid.) - this is David; “and a scepter shall arise out of Israel” (ibid.) - this the King Messiah; “and shall smite through the corners of Moab” - this is David; and so it says, “And he smote Moab and measured them with a rope” (II Samuel 8:2); “and break down all the sons of Seth” (Numbers 24:17) - this is King Messiah of whom it says, “and his dominion shall be from sea to sea” (Zechariah 9:10); “and Edom shall be a possession” (Numbers 24:18) - this is David, as it says, “And Edom shall become slaves to David” (see II Samuel 8:6 and II Samuel 8:14); “Seir also, even his enemies, shall be a possession” (Numbers 24:18) - this is King Messiah, as it says, “And the saviors shall come upon Mount Zion to judge the mount of Esau…” (Obadiah 1:21).