בְּיוֹם טוֹבָה הֱיֵה בְטוֹב, אִם נִזְדַּמֵּן לְךָ יוֹם טוֹב תְּהֵא עוֹשֶׂה אוֹתוֹ מִיָּד. וּבְיוֹם רָעָה רְאֵה, רְאֵה אֵיךְ לַעֲשׂוֹת תְּשׁוּבָה, שֶׁתִּנָּצֵל מִדִּינָהּ שֶׁל גֵּיהִנֹּם. אָמַר רַבִּי יוּדָן בְּשֵׁם רַבִּי אֶלְעָזָר שְׁלשָׁה דְבָרִים מְבַטְּלִין גְּזֵרוֹת רָעוֹת, וְאֵלּוּ הֵן: תְּפִלָּה, וּצְדָקָה, וּתְשׁוּבָה. וּשְׁלָשְׁתָּן בְּפָסוּק אֶחָד, הֲדָא הוּא דִכְתִיב (דברי הימים ב ז, יד): וְיִכָּנְעוּ עַמִּי אֲשֶׁר נִקְרָא שְׁמִי עֲלֵיהֶם וְיִתְפַּלְּלוּ וִיבַקְּשׁוּ פָנַי וְיָשֻׁבוּ מִדַּרְכֵיהֶם הָרָעִים וַאֲנִי אֶשְׁמַע מִן הַשָּׁמַיִם וְאֶסְלַח לְחַטָּאתָם וְאֶרְפָּא אֶת אַרְצָם. וְיִתְפַּלְּלוּ, זוֹ תְּפִלָּה. וִיבַקְּשׁוּ פָנַי, זוֹ צְדָקָה, הָאֵיךְ מָה דְאַתְּ אָמַר (תהלים יז, טו): אֲנִי בְּצֶדֶק אֶחֱזֶה פָנֶיךָ. וְיָשֻׁוּבוּ מִדַּרְכֵיהֶם הָרָעִים, זוֹ תְּשׁוּבָה. וְאַחַר כָּךְ וַאֲנִי אֶשְׁמַע מִן הַשָּׁמַיִם וגו'. רַבִּי מָנָא אָמַר אַף הַתַּעֲנִית, דִּכְתִיב (תהלים כ, ב): יַעַנְךָ ה' בְּיוֹם צָרָה. לָמָּה, גַּם אֶת זֶה לְעֻמַּת זֶה עָשָׂה הָאֱלֹהִים.
“On a day of good fortune, enjoy, and on a day of misfortune, see: God made this as well as that; consequently, man cannot find out anything about it” (Ecclesiastes 7:14). “On a day of good fortune, enjoy” – if a good day befalls you, act upon it immediately. “And on a day of misfortune, see” – see how to repent and be spared from the punishment of Gehenna. Rabbi Yudan [said] in the name of Rabbi Elazar: Three matters nullify evil decrees: Prayer, charity [tzedaka], and repentance, and the three of them are in one verse; that is what is written: “If My people upon whom My name is called humble themselves, and pray, and seek My presence, and repent their evil ways, then I will hear from the heavens, and will forgive their sin, and will heal their land” (II Chronicles 7:14). “And pray,” this is prayer; “seek My presence,” this is charity, as it is said: “I with righteousness [betzedek] will behold Your presence” (Psalms 17:15); “and repent their evil ways,” this is repentance; “then I will hear from the heavens.” Rabbi Mana said: Fast, as well, as it is written: The Lord will answer you on a day of affliction” (Psalms 20:2).