The sources trace the yetzer hara to the very formation of a person: the Radak (Bereishit 8:21) explains that it is called yetzer because it is formed together with the fetus and precedes the yetzer tov, which only becomes active at maturity, while Avot DeRabbi Natan 16 states that the evil inclination is thirteen years senior to the good inclination, accompanying the child from the womb without restraint, and Chiddushei Aggadot, Sanhedrin 106 similarly reads the verse as describing the yetzer hara entering a person from the moment of emergence from the womb, identifying it with the satan and the angel of death.
Despite its danger, the sources insist the yetzer hara is not simply bad: Bereishit Rabbah 9:7 reads "very good" in the creation account as including the evil inclination, explaining that without it a person would never build a house, marry, or engage in commerce, and Mishnah Berakhot 9:5 rules that one must bless God with both inclinations. Rav Kook (Ein Aya, Berakhot 1:69) and Rav Kook (Ein Aya, Berakhot 9:188) develop this, teaching that no trait God implanted is inherently evil, only requiring its proper measure and purpose, a point Even Sheleimah 4:1 illustrates by comparing the yetzer hara to the lees that preserve wine so long as they remain settled beneath it. Rav Samson Raphael Hirsch makes the same point in Rav Samson Raphael Hirsch and Rav Samson Raphael Hirsch, teaching that even the evil inclination stems from God's love, since the capacity to be aroused toward evil is what elevates man above the animal by making his deeds a matter of free choice rather than compulsion.
Several passages describe the yetzer hara's physical and psychological mechanics: Berakhot 61a records the images of a fly sitting between the chambers of the heart or a kernel of wheat crouching at the door, and the teaching that one kidney advises toward good and the other toward evil, while Nedarim 32b reads the parable of the small city besieged by a great king as the body besieged by the yetzer hara, with the wise poor man representing the yetzer tov that is forgotten precisely at the moment the evil inclination holds sway.
Because the struggle is constant, Berakhot 5a teaches that one must incite the good inclination against the evil inclination, turning first to Torah study and then to the Shema if the first measure fails, a teaching that Tanya, Likkutei Amarim 28 and Tanya, Likkutei Amarim 29 apply directly, instructing a person to recognize intruding thoughts as originating from the kelipah and to answer them with raging indignation rather than despair. Tehillim 51:12-14 supplies the plea underlying this struggle, asking God to fashion a pure heart and renew a steadfast spirit within the supplicant.
Torah study is repeatedly offered as the antidote to the yetzer hara: Kiddushin 30b has God tell Israel that He created the evil inclination as a wound and Torah as its cure, so that one occupied in Torah is not handed over to it, and Chiddushei Aggadot, Kiddushin 30 explains this is especially difficult because the yetzer's own Creator calls it evil, meaning the evil is intrinsic to its essence. Derekh Chayyim 3:1:10 develops that Torah is called "freedom" because the yetzer hara has no power over one engaged in it, and Responsa Maharashdam, Orach Chayim 17 traces a ladder from Torah study to watchfulness, then alacrity, cleanliness, and ultimately abstinence even from the permitted.
Multiple sources stress how the yetzer hara escalates once given an opening: Chiddushei Aggadot, Niddah 9 distinguishes between one on whom the yetzer hara merely rests and one it has drawn into actual wrongdoing, describing it as urging a person step by step until idolatry, a progression Chiddushei Aggadot, Shabbat 105 and Chiddushei Aggadot, Sotah 14 likewise connect to avodah zarah. Chiddushei Aggadot, Niddah 17 adds that one who provokes the yetzer hara is led by it to transgress everything, becoming like one for whom all is permitted, and Even Sheleimah 4:4, Even Sheleimah 4:16, and Even Sheleimah 4:13 describe its tactic of first showing affection and permitting mitzvah-pleasures before drawing a person toward worldly desire. Notes by Rabbi Yehoshua Hartman on Derashat Shabbat HaGadol 9:33, Notes by Rabbi Yehoshua Hartman on Be'er HaGolah, Well 6 14:7, and Notes by Rabbi Yehoshua Hartman on Derekh Chayim 3:1:98 add that one who actively arouses the yetzer hara upon himself becomes, as it were, wholly identified with it, and that its grip slackens only when a person sets the day of death before himself.
Looking toward the end of days, Sukkah 52a-52b describes God slaughtering the evil inclination before the righteous and the wicked alike, where it appears to the righteous as a towering mountain and to the wicked as a mere hair, and both weep in wonder at the disproportion between the struggle and its true size. Pesikta Rabbati 41 similarly recounts that when Israel accepted the Torah at Sinai their evil inclination was uprooted, unifying their heart, and Vayikra Rabbah 34:1 reads "praiseworthy is one who is wise about the poor" as one who sets the good inclination to rule over the evil one.
On the question of whether a person is bound by this inclination, Mishneh Torah, Repentance 5:2-3 insists that no decree fixes a person as righteous or wicked from birth, but that each person inclines toward whichever path he chooses by his own will, and Mishneh Torah, Repentance 7:3-4 extends this to subduing inner traits like anger and jealousy, valuing one who has tasted sin and mastered his yetzer even above one who never sinned. Rabbeinu Yonah on Pirkei Avot 1:14 reads the complaint before God, "You gave us the evil inclination from our youth," as the reason even diligent effort achieves only a fraction of what is owed, and Mesillat Yesharim 1-3 and Mesillat Yesharim 11:51 warn that the yetzer hara's cunning strategy is to burden a person so constantly that he has no room left to reflect on his path, making even sinful thought itself an abomination. Later authorities carry this into practical life: Rav Eliezer Melamed (Peninei Halakhah, Simchat Habayit U'Virkhato 3:2) teaches that the root of both inclinations is one, with free will directing a drive like appetite either toward gluttony or toward sanctified use, and Rav Eliezer Melamed (Peninei Halakhah, Days of Awe 1:7) explains that Heaven sometimes withholds wealth from a person precisely because foreseen mastery by the yetzer hara would corrupt him.
Practical safeguards against the yetzer hara appear across the Gemara: Ketubot 59b and Ketubot 61b rule that idleness leads to licentiousness, so a wife may be compelled to work, and Pesachim 113b praises the sages who, working as cobblers in the marketplace of prostitutes, never raised their eyes despite proximity to temptation. Vayikra 19:14's prohibition against placing a stumbling block before the blind is drawn into this same protective frame, and Mishneh Torah, Human Dispositions 6:1-2 directs a person to associate with the righteous and distance himself from the wicked so as not to be drawn after their ways, a concern Kitzur Shulchan Arukh Yalkut Yosef, Orach Chaim 551:8 applies specifically to restraining frivolity lest the yetzer hara gain the upper hand.
A kabbalistic and chassidic strand reframes the yetzer hara within the structure of the soul: Tanya, Likkutei Amarim 1:15 locates it in the animal soul drawn from the kelipah, the source of anger, pride, and base desire, and Shenei Luchot HaBerit, Shaar HaOtiyot, Yetzer Tov:3 explains that the evil inclination precedes the good one in a person's development specifically so that man retains genuine free choice rather than being compelled toward virtue, while Shenei Luchot HaBerit, Shaar HaOtiyot, Yetzer Tov:18 holds that the inclination's true purpose is to tempt so that resisting it yields double reward. Likutei Moharan 25 describes the evil forces as reawakening at each new spiritual level a person ascends, requiring renewed subjugation, Sefat Emet, Shemot, Parashat Parah 2:3 reads an evil thought as something meant to be elevated through proper reflection, Da'at Tevunot 72 situates the yetzer hara's dominion within the deliberate limitation of the soul's illumination for the sake of free will, Rabbeinu Bahya, Vayikra 19:2 frames the struggle between intellect and desire as what can raise a person to the level of an angel or lower him to that of an animal, and Likkutei Sichos 24, כי תבוא 2 addresses the Talmudic teaching that God "regretted" creating the yetzer hara alongside exile, distinguishing the Babylonian and Jerusalem Talmud's differing views of exile's ultimate status.
Modern poskim have addressed this question directly. Our research indicates that Rav Shmuel Wosner (Shevet HaLevi 5:1) is relevant, where he explains that many struggle to overcome sin despite Torah study because their learning may lack completeness, awareness of its divine source, purity, and sanctity, while continued study pursued with joy and purity gradually brings improvement, since Torah and personal holiness reinforce one another.