"And He said, You cannot see My face" (Exodus 33:20). Moses sought to grasp the reward given for the commandments and the tranquility of the wicked. The Holy One, blessed be He, said to him: "You cannot" and so on. And this expression denotes nothing other than the tranquility of the wicked, as it is said, "and He repays those who hate Him to their face" (Deuteronomy 7:10). The Holy One, blessed be He, said to him: "And I will take away My hand" (Exodus 33:23). In this world I show you the reward given to those who fear Me, and in the world to come I will show the righteous the good that is stored away for them. David said, "How great is Your goodness" and so on (Psalms 31:20).
You Cannot See My Face and the Hidden Reward of the Commandments
Yalkut Shimoni on Torah 395:3
וַיֹּאמֶר לֹא תוּכַל לִרְאוֹת אֶת פָּנָי. בִּקֵּשׁ מֹשֶׁה לַעֲמֹד עַל מַתַּן שְׂכָרָן שֶׁל מִצְוֹת, וְעַל שַׁלְוָתָן שֶׁל רְשָׁעִים. אָמַר לוֹ הַקָּדוֹשׁ בָּרוּךְ הוּא. לֹא תוּכַל וְגוֹ'. וְאֵין הַלָּשׁוֹן הַזֶּה אֶלָּא לְשׁוֹן שַׁלְוָתָן שֶׁל רְשָׁעִים, שֶׁנֶּאֱמַר (דברים ז, י) "וּמְשַׁלֵּם לְשׂנְאָיו אֶל פָּנָיו". אָמַר לוֹ הַקָּדוֹשׁ בָּרוּךְ הוּא וַהֲסִרֹתִי אֶת כַּפִּי. בָּעוֹלָם הַזֶּה אֲנִי מַרְאֶה לְךָ מַתַּן שְׂכָרָם שֶׁל יְרֵאִים, וְלָעוֹלָם הַבָּא אֲנִי מַרְאֶה לַצַּדִּיקִים הַטּוֹב שֶׁהוּא צָפוּן לָהֶם, אָמַר דָּוִד (תהלים לא, כ) "מָה רַב טוּבְךָ" וְגוֹ'.