ספר המדות A Righteous Person / Part I · קמא
Sefer HaMiddot 2152
קמא. רָשָׁע שֶׁעָשָׂה חֲטָאִים רַבִּים, תַּקָּנָתוֹ שֶׁיִּהְיֶה פְּעֻלּוֹתָיו לְחַיּוֹת אֶת הַצַּדִּיק.
141. An evildoer who has committed many sins, his rectification is -- that his actions should be (geared) to give vitality to the Tzaddik.