The ultimate purpose of the Final Redemption is that the whole world, including non-Jews, be redeemed, thus they will come to recognize G-dliness. This idea is found in many sources, especially in talks of the Rebbe where he addresses the matter of the Seven Noahide laws, and their influence on the nations of the world.