Kitzur Likutei Moharan I, 4:3
The main rectification of all sins is through the true tzaddik. And one who wants to merit a good end forever must strive with all his strength to draw close to true tzaddikim and their disciples, and to tell before the tzaddik all that is in his heart, that is, verbal confession. And through this all his sins are forgiven him. For a person's sins are engraved upon his bones, for every sin has a combination of letters, and when one commits some sin, an evil combination is engraved upon his bones according to the letters of the prohibition that he transgressed. And through this he brings the aspect of the speech of that prohibition which he transgressed into impurity, and through this he brings the holy Malkhut into the exile of the Other Side. And this evil combination that is engraved upon his bones takes vengeance on him. And through verbal confession before the Torah scholar, the letters engraved upon his bones come out of them, and everything is rectified.
View original Hebrew
עִקַּר הַתִּקּוּן שֶׁל כָּל הָעֲווֹנוֹת הוּא עַל יְדֵי הַצַּדִּיק הָאֱמֶת. וּמִי שֶׁרוֹצֶה לִזְכּוֹת לַאֲחֲרִית טוֹב לָנֶצַח. צָרִיךְ לְהִשְׁתַּדֵּל בְּכָל כּחוֹ לְהִתְקָרֵב לְצַדִּיקֵי אֱמֶת וְתַלְמִידֵיהֶם. וִיסַפֵּר לִפְנֵי הַצַּדִּיק כָּל לִבּוֹ הַיְנוּ וִדּוּי דְּבָרִים. וְעַל יְדֵי זֶה מוֹחֲלִין לוֹ כָּל עֲווֹנוֹתָיו, כִּי עֲווֹנוֹתָיו שֶׁל אָדָם חֲקוּקִים עַל עַצְמוֹתָיו. כִּי כָּל עֲבֵרָה יֵשׁ לָהּ צֵרוּף אוֹתִיּוֹת וּכְשֶׁעוֹבֵר אֵיזֶה עֲבֵרָה אֲזַי נֶחְקָק צֵרוּף רַע עַל עַצְמוֹתָיו כְּפִי אוֹתִיּוֹת הַלָּאו שֶׁעָבַר. וְעַל יְדֵי זֶה מַכְנִיס בְּחִינַת הַדִּבּוּר שֶׁל הַלָּאו הַזֶּה שֶׁעָבַר בְּתוֹךְ הַטומְאָה. וְעַל יְדֵי זֶה מֵבִיא מַלְכוּת דִּקְדֻשָּׁה לְתוֹךְ גָּלוּת דְּסִטְרָא אַחֲרָא. וְזֶה הַצֵּרוּף הָרָע שֶׁנֶּחְקַק עַל עַצְמוֹתָיו נוֹקֵם בּוֹ. וְעַל יְדֵי וִדּוּי דְּבָרִים לִפְנֵי הַתַּלְמִיד חָכָם יוֹצֵא מֵעַצְמוֹתָיו הָאוֹתִיּוֹת הַחֲקוּקִים עֲלֵיהֶם וְנִתְתַּקֵּן הַכּל.Read this passage within Part I · Torah 4, in its full context