Questions to Ponder:
1) Why exactly do we need a Messiah anyways? What's wrong with human progress to improve the world?
2) Why does God need to rely on an individual to do his bidding? If God wanted the world perfect, couldn't He just make it that way?
3) How exactly is the Messiah going to pull this off, to get everyone on the side of the Jews? Why is the Messiah's lineage so tainted?
והתועלת הגדול אשר תהיה באותם הימים הוא שננוח משעבוד מלכיות שהוא מונע אותנו מעשיית המצות כולם, ותרבה החכמה כמו שנאמר ”כִּ י מָ לְ אָ ה הָ אָ רֶ ץ דּעָה ]אֶת ה‘ כַּמַּיִם לַיָּם מְ כַסִּים[“, וישבתו המלחמות כמו שנאמר ”]וְ כִ תְּ תוּ חַ רְ בוֹתָ ם לְ אִ תִּ ים וַ חֲ נִ יתוֹתֵ יהֶ ם לְ מַ זְ מֵ רוֹת[ לֹא יִ שּ ָׂ א גוֹי אֶ ל גּ וֹי חֶ רֶ ב ]וְ לֹא יִ לְ מְ דוּ עוֹד מִ לְ חָ מָ ה[“, ויהיה נמצא בימים ההם שלימות רב ונזכה בו לחיי העולם הבא.
Rambam on the Mishnah, Sanhedrin 10
The great benefit which will be in those days [of the Mashiach] is that we will rest from our subjugation to the non-Jewish governments, which is what prevents us from fulfilling all the mitzvot. Wisdom will increase... War will cease, as the verse states, “They shall beat their swords into ploughshares and their spears into pruning hooks. Nation will not lift up sword against nation, and neither shall they learn war any more”. In those days there will be ultimate perfection and we will merit the life of the World to Come.
(ד) וְאִם יַעֲמֹד מֶלֶךְ מִבֵּית דָּוִד הוֹגֶה בַּתּוֹרָה וְעוֹסֵק בְּמִצְוֹת כְּדָוִד אָבִיו. כְּפִי תּוֹרָה שֶׁבִּכְתָב וְשֶׁבְּעַל פֶּה. וְיָכֹף כָּל יִשְׂרָאֵל לֵילֵךְ בָּהּ וּלְחַזֵּק בִּדְקָהּ. וְיִלָּחֵם מִלְחֲמוֹת ה'. הֲרֵי זֶה בְּחֶזְקַת שֶׁהוּא מָשִׁיחַ. ם עָשָׂה וְהִצְלִיחַ וּבָנָה מִקְדָּשׁ בִּמְקוֹמוֹ וְקִבֵּץ נִדְחֵי יִשְׂרָאֵל הֲרֵי זֶה מָשִׁיחַ בְּוַדַּאי.
(4) Now, if a king should arise from the House of David who is versed in Torah and engages in Commandments, as did David his forefather, in accordance with both the Written and the Oral Torahs, and he enjoins all of Israel to follow in its ways and encourages them to repair its breaches, and he fights the Wars of G-d then he may be presumed to be the Messiah. If he succeeds in his efforts and defeats the enemies around and builds the Temple in its proper place and gathers the dispersed of Israel, he is definitely the Messiah.
(ג) וְאַל יַעֲלֶה עַל דַּעְתְּךָ שֶׁהַמֶּלֶךְ הַמָּשִׁיחַ צָרִיךְ לַעֲשׂוֹת אוֹתוֹת וּמוֹפְתִים וּמְחַדֵּשׁ דְּבָרִים בָּעוֹלָם אוֹ מְחַיֶּה מֵתִים וְכַיּוֹצֵא בִּדְבָרִים אֵלּוּ [ב.] אֵין הַדָּבָר כָּךְ.
(3) It should not occur to you that the King Messiah must bring wondrous signs or perform marvels or invent new things or revive the dead or anything like what the fools say....
ואמר רבי יוחנן אין בן דוד בא אלא בדור שכולו זכאי או כולו חייב בדור שכולו זכאי
And Rabbi Yoḥanan says: The son of David will come only in a generation that is entirely meritorious, or in a generation that is entirely guilty.
Zohar
"In the 600th year of the 6th millennium, the gates of wisdom on high and the wellsprings of lower wisdom will be opened. This will prepare the world to enter the 7th millennium, just as a person prepares himself toward sunset on Friday for the Sabbath. It is the same here. And the mnemonic for this is (Genesis 7:11), 'In the 600th year… all the foundations of the great deep were split'."