Today we have an amazing Daf which touches on how Judaism views the human urge to sin, called “yetzer hara” literally evil inclination. The Gemara gets on the topic from discussing how we built a balcony in the Temple courtyard for the women to be above the men. This was to prevent their mixing and signaling to one another during the party.
Our sages learn from Zechariah 12:12 to separate men and women when there is risk of frivolity. That verse is a prophecy about a funeral in the future, and some sages understand that funeral as being for the urge to sin, which will be removed in the Messianic age.
After the urge to sin will be destroyed, both righteous and evil people will cry – the righteous because it now appears to them as a huge mountain, impossible to surmount, and the evil because it now appears like a thin hair, which should have been easy to break through. They will be disappointed in themselves for not overcoming their urges.
Temptation is a very personal concept. Some men would never dream of doing certain actions which other men do regularly without a second thought. Your own free will is like a shifting battle line, with some items safely within your territory, some beyond your reach, and others fiercely contested.
The Gemara brings advice from King Solomon about the evil inclination:
Solomon called it enemy, as it is stated: “If your enemy is hungry, give him bread to eat, and if he is thirsty, give him water to drink; for you will heap coals of fire upon his head, and the Lord will reward you” (Proverbs 25:21–22). Do not read the verse: the Lord will reward you [yeshalem lakh]; rather read it: the Lord will pacify it for you [yashlimenu lakh].
Bread and water are an allusion to learning wisdom. The Gemara brings a teaching from Rabbi Yishmael: If this scoundrel, the inclination, attacked you to tempt you, drag it to the study hall. Intellectual development and character refinement allow a man to overcome his bodily desires and control his emotions.
A man who habituates himself to react with his mind before his feelings and body is better able to resist temptation. When you consider the long term effects of your actions you are less likely to make bad decisions based on momentary pleasure. This requires study and the developing peace of mind to contemplate potential outcomes.
The Maharsha (Rabbi Shmuel Eidels, 1555 – 1631) has a different explanation of Solomon’s advice. We give the inclination bread and water, meaning only the basic essentials, but not any feasts or luxuries. We recognize that humans are physical beings, but we do not indulge unnecessarily. Judaism recognizes the human need to care for your body. We are involved in the world and all her pleasures, but only to the extent necessary.
The Gemara continues with advice specific to the desire for sexual relations: Rabbi Yoḥanan said: A man has a small organ. If he starves it, it is satiated; however, if he satiates it, it is starving.
This is a powerful concept. A man can get used to having a certain level of fun or luxury, and become effectively addicted to it. If he doesn’t get it he can turn desperate and appear needy or creepy to others. While intimacy is a key aspect of human life, it should not overshadow a man’s other needs and his larger goals.
Tosafot here notes that King David did not follow this advice: when he was told he would be tempted with sexual impropriety he immediately summoned one of his wives (he eventually had 18 wives) and they were together during the daytime, which was not the ideal time to be intimate (See Talmud Niddah 17a).
Instead of reducing his urges, this made his desire even stronger that night. That lead to the embarrassing troubles caused by David taking Bathsheba before the proper time. David’s plan was shrewd but did not account for consequences of giving in to desire.
The key is be aware of your desires and use your intellect instead of your emotion to manage your behavior.