רש״י על פרקי אבות · א, ז
וְאַל תִּתְיָאֵשׁ מִן הַפּוּרְעָנוּת. שֶׁאִם אַתָּה עָשִׁיר אַל תִּבְטַח בְּעָשְׁרְךָ לְפִי שֶׁהַפּוּרְעָנוּת מְמַהֶרֶת לָבֹא לָכֵן תִּהְיֶה כָּל שָׁעָה בְּפַחַד וְכֵן הוּא אוֹמֵר אַשְׁרֵי אָדָם מְפַחֵד תָּמִיד וְכֵן אִם בָּא עָלֶיךָ רָעָה אַל תִּתְיָאֵשׁ לְפִי שֶׁהַיְשׁוּעָה קְרוֹבָה לָבֹא וכה״א הֵן לֹא קָצְרָה יַד ה׳ מֵהוֹשִׁיעַ:
Rashi on Pirkei Avos · 1:7
If you are rich, do not trust in your wealth, for retribution comes quickly; and if evil comes upon you, do not despair, for salvation is near to come
And do not despair of retribution: for if you are rich, do not trust in your wealth, because retribution comes quickly; therefore be in fear at every hour; and so it says, “Fortunate is the man who is always afraid” (Mishlei 28:14). And likewise, if evil comes upon you, do not despair, because salvation is near to come; and so it says, “Behold, the hand of Hashem is not too short to save” (Yeshayahu 59:1).