The Zohar reveals that in the future, The Holy One Blessed be He, will make the light to the moon as the light of the sun.
“וְהָיָה אוֹר הַלְּבָנָה כְּאוֹר הַחַמָּה וְאוֹר הַחַמָּה יִהְיֶה שִׁבְעָתַיִם כְּאוֹר שִׁבְעַת הַיָּמִים בְּיוֹם חֲבֹשׁ יְהוָה אֶת שֶׁבֶר עַמּוֹ וּמַחַץ מַכָּתוֹ יִרְפָּא”
“Moreover, the light of the moon will be as the light of the sun, and the light of the sun will be sevenfold, as the light of seven days, in the day when YHVH binds up the brokenness of his people, and heals the wounds inflicted by his blow”
The light of the Sun is the aspect of Binah. Moon is the aspect of Malchut, our world. The ‘sevenfold’ is the aspect of the Seven lower Sefirot that will be filled with light and revealed in Malchut (moon).
“לֹא-יָבוֹא עוֹד שִׁמְשֵׁךְ, וִירֵחֵךְ לֹא יֵאָסֵף: כִּי יְהוָה, יִהְיֶה-לָּךְ לְאוֹר עוֹלָם, וְשָׁלְמוּ, יְמֵי אֶבְלֵךְ”
“Your sun will never set; your moon will not go down. For YHVH will be your everlasting light. Your days of mourning will come to an end.”
This verse teaches us that once the Light fills all the lower levels, the light will stay present forever and there will be no more aspect of ‘darkness’ and death.
To have merits to be living in that times, we should increase our vessel to be capable of holding the great light that would appear in the world. Smaller vessels may break or in the best case won’t have a strong vessel to enjoy that awesome Light.
We never lose merits we earned in our lifetimes. When we resurrected we will be judged/evaluated again. The wicked will fall back and those with merits will benefit according to the their purity and the size of their vessel.
A pure vessel is of those who didn’t do bad. A big vessel is of those who followed the ways of the Torah, studied the secrets, shared and gave tithe to remove the aspect of death form their actions and lives.