סימן קכז סעיף ה
כָּל הַשָּׁרוּי בְּתַעֲנִית, לֹא יִנְהַג עִדּוּנִין בְּעַצְמוֹ, וְלֹא יָקֵל רֹאשׁוֹ, וְלֹא יְהֵא שָׂמֵחַ וְטוֹב לֵב, אֶלָּא דּוֹאֵג וְאוֹנֵן, כְּמוֹ שֶׁנֶּאֱמַר מַה יִתְאוֹנֵן אָדָם חַי גֶּבֶר עַל חֲטָאָיו (תקסח).
When you fast, you should not indulge in enjoyment, nor act frivolously. You should not go around happy and cheerful, but rather with anxiety and sorrow,7You should be careful to control your anger and to conduct your business activities in such manner, as not to become angry. (Ibid. 568:50) as it is said: "Why should a living man bemoan? A man, because of his sins!" (Lamentations 3:39).
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)