Rambam distinguishes bodily appetites from the soul’s rational purpose and argues that health, moderation, and the cultivation of virtue are necessary for governing desire. The discussion is especially useful for integrating psychology and ethics.
וזאת התורה התמימה המשלמת אותנו כמו שהעיד עליה יודעה: "תורת ד' תמימה משיבת נפש, עדות ד' נאמנה מחכימת פתי" (תהילים יט, ח) - ולא זכרה דבר מזה. ואמנם כונה להיות האדם טבעי הולך בדרך האמצעי: יאוכל מה שיש לו לאכול - בשווי, וישתה מה שיש לו לשתות - בשווי, ויבעל מה שמותר לו לבעול - בשווי, וישכון במדינות ביושר ובאמונה. לא שישכון במדבריות ובהרים, ולא שילבש הצמר והשער, ולא שיענה גופו. והזהירה מזה, לפי מה שבא בקבלה. נאמר בנזיר: "וכפר עליו מאשר חטא על הנפש" (במדבר ו, יא). ואמרו רבותינו, זכרונם לברכה: "וכי על איזה נפש חטא זה? - אלא על שצער עצמו מן היין. והלא דברים קל וחומר: מה זה שצער עצמו מן היין - צריך כפרה, המצער עצמו מכל דבר ודבר על אחת כמה וכמה" (תענית יא, א). ובדברי נביאינו וחכמי תורתנו ראינו, שהיו מכונים על השווי ושמירת נפשם וגופם, על מה שתחיבם התורה. וענה השם יתברך על יד נביאו למי ששאל לצום יום אחד בעולם אם יתמיד אם לאו, והוא אמרם לזכריה הנביא: "האבכה בחודש החמישי, הנזר כאשר עשיתי זה כמה שנים?" (זכריה ז, ג) וענה אותם: "כי צמתם וספוד בחמישי ובשביעי וזה שבעים שנה, הצום צמתני אני? וכי תואכלו וכי תשתו הלוא אתם האוכלים ואתם השותים" (שם ה-ו). ואחר כך צוה אותם ביושר ובמעלה לבד לא בצום, והוא אמרו להם: "כה אמר ד' צבאות לאמור: משפט אמת שפטו, וחסד ורחמים עשו איש את אחיו. ואלמנה ויתום, גר ועני אל תעשוקו, ורעת איש אחיו אל תחשבו בלבבכם" (שם ט-י). ואמר אחר כך: "כה אמר ד' צבאות: צום הרביעי וצום החמישי וצום השביעי וצום העשירי יהיה לבית יהודה לששון ולשמחה ולמועדים טובים, והאמת והשלום אהבו" (שם ח, יט). ודע שה"אמת" - הן המעלות השכליות, מפני שהן אמיתיות לא ישתנו, כמו שזכרנו בפרק השני. וה"שלום" - הן מעלות המידות, אשר בהן יהיה השלום בעולם. ואשוב אל כונתי. שאם יאומרו אלו המתדמים באומות מאנשי תורתנו - שאיני מדבר אלא בהם - שהם אינם עושים מה שעושים אותו: מהטריחות גופותם,ופסוק הנאותיהם, אלא על דרך הלימוד לכוחות הנפש, כדי שיהיו נוטים אל הצד האחר מעט, כפי מה שארנו בזה הפרק, שראוי שיהיה האדם כן - זוהי טעות מהם, כאשר אבאר. וזהו: שהתורה לא אסרה מה שאסרה, ולא צותה מה שצותה - אלא מפני זאת הסיבה, רצוני לומר: כדי שנתרחק מן הצד האחד יותר על צד ההרגל. שאיסור המאכלות האסורות כולם, ואיסור הבעילות האסורות והאזהרה על הקדשה, ומה שהצריך בכתובת אישה וקדושיה, ועם כל זה אינה מותרת תמיד, אבל תאסר בעת הנידות והלדה, ועם כל זה גזרו רבותינו, זכרונם לברכה, למעט המשגל ומנעוהו ביום, כמו שבארנו בסנהדרין - זה כולו, אמנם, צונו השם יתברך להתרחק מקצה רוב התאוה רחוק גדול, ולצאת מן המצוע אל צד העדר הרגשת ההנאה מעט, עד שתתחיב ותתחזק בנפשותינו תכונת הזהירות.
The perfect Law which leads us to perfection—as one who knew it well testifies by the words, "The Law of the Lord is perfect restoring the soul; the testimonies of the Lord are faithful making wise the simple"—recommends none of these things (such as self-torture, flight from society etc.). On the contrary, it aims at man's following the path of moderation, in accordance with the dictates of nature, eating, drinking, enjoying legitimate sexual intercourse, all in moderation, and living among people in honesty and uprightness, but not dwelling in the wilderness or in the mountains, or clothing oneself in garments of hair and wool, or afflicting the body. The Law even warns us against these practices, if we interpret it according to what tradition tells us is the meaning of the passage concerning the Nazarite, "And he (the priest) shall make an atonement for him because he hath sinned against the soul." The Rabbis ask, "Against what soul has he sinned? Against his own soul, because he has deprived himself of wine. Is this not then a conclusion a minori ad majus? If one who deprives himself merely of wine must bring an atonement, how much more incumbent is it upon one who denies himself every enjoyment." By the words of our prophets and of the sages of our Law, we see that they were bent upon moderation and the care of their souls and bodies, in accordance with what the Law prescribes and with the answer which God gave through His prophet to those who asked whether the fast-day once a year should continue or not. They asked Zechariah, "Shall I weep in the fifth month with abstinence as I have done already these many years?" His answer was, "When ye fasted and mourned in the fifth and in the seventh (month) already these seventy years, did ye in anywise fast for me, yea for me? And if ye do eat and if ye do drink are ye not yourselves those that eat and yourselves those that drink?" After that, he enjoined upon them justice and virtue alone, and not fasting, when he said to them, "Thus hath said the Lord of Hosts. Execute justice and show kindness and mercy every man to his brother." He said further, "Thus hath said the Lord of Hosts, the fast-day of the fourth, and the fast-day of the fifth, and the fast of seventh, and the fast of the tenth (month) shall become to the house of Judah gladness, and joy, and merry festivals; only love ye truth and peace.". Know that by "truth" the intellectual virtues are meant, for they are immutably true, as we have explained in Chapter II, and that by "peace" the moral virtues are designated, for upon them depends the peace of the world. But to resume. Should those of our co-religionists—and it is of them alone that I speak—who imitate the followers of other religions, maintain that when they torment their bodies, and renounce every joy, that they do so merely to discipline the faculties of their souls by inclining somewhat to the one extreme, as is proper, and in accordance with our own recommendations in this chapter, our answer is that they are in error, as I shall now demonstrate. The Law did not lay down its prohibitions, or enjoin its commandments, except for just this purpose, namely, that by its disciplinary effects we may persistently maintain the proper distance from either extreme. For, the restrictions regarding all the forbidden foods, the prohibitions of illicit intercourse, the fore-warning against prostitution, the duty of performing the legal marriage-rites which, nevertheless, does not permit intercourse at all times, as, for instance, during the period of menstruation, and after child-birth, besides its being otherwise restricted by our sages, and entirely interdicted during the daytime, as we have explained in the Tractate Sanhedrin—all of these God commanded in order that we should keep entirely distant from the extreme of the inordinate indulgence of the passions, and, even departing from the exact medium, should incline somewhat towards self-denial, so that there may be firmly rooted in our souls the disposition for moderation.