In the conclusion of the Rambam – in the last two chapters (the laws of King Moshiach) the Rambam, clarifying details regarding the messianic era – – he concludes “Our sages wanted not the times of Moshiach, but so they should be free to study the Torah, and her wisdom, and have no extenuating disturbing circumstances, in order to merit the life of the future world, as we explained in the laws of Teshuva.”
Then he adds in the next law, “In that time, there will be no hunger nor war, there will be no jealousy nor quarrel, for the good will be abundant, and all delicacies will be like (readily available) as dust – and the entire pursuit of the world will be to know God, and therefore the Jewish people will be very wise, and know secrets and understand the “mentality” of their Creator, to the extent humanly possible, as it states, “The world will be filled with knowledge, as water covers the seafloor.”
The Rambam’s division of the events of Moshiach into the final two laws (as well as earlier he mentions about Moshiach) is actually fundamental: for he previous speaks about Moshaich as Moshiach relates to the Jewish people, and the last law, as it relates to all.
In the laws of Teshuva, the Rambam explains, that the great materiel benefits that will be present in the messianic age, are in order that the Jewish people should have the tranquility to study Torah.
In the final law, the Rambam adds, that the great materiel benefit, will also create that the gentiles will seek God.
Furthermore the Rambam adds a point which is greater than all the previous (Messianic benefits) namely, that the world will come to such a state of physical and spiritual perfection that the only occupation of the entire world, like water (which completely subsumes all within) will be knowledge of the Divine.
This furthermore indicates that the world itself will elevate to the level of water, in which it will be within the Divine.
Generally speaking this difference (between the effect for Jews and on the world ) represents another fundamental point, mainly, as the Rambam is a book of legal Jewish laws, which is about how we effect the world, the main content is specifically on that; (which is why previously he mentions not the great miracles -as this relates not to how we effect the world) but eventually the world itself becomes merged / subsumed within Torah.
ED. NOTE (To explain the next point, the following illustration is useful – To build a home there are four dynamics – firstly there is the desire, – then there are the details – constructing each part, each room etc., then there is the completion, and then there is the enjoyment.) Firstly God gave the Jewish people the Torah, so we could elevate all aspects of the world, however (in the second phase of the messianic revelation) we enter into beyond.. (building the home, but) the realizing of its very essence – when our mind and God’s “merge!”
First comes the laws that effect man and the world, then comes the understanding that there is but God, but the ultimate – because the infinite is unlimited to being beyond – is when God and man unite.