The Holy One, blessed be He, created the evil inclination; He created the Torah as its antidote.

ברא הקב"ה יצה"ר ברא לו תורה תבלין
Shiurim in this topic
151. Bar Mitzvah, the Battle with the Yetzer Hara, and the Light of Joshua's Yahrzeit בר מצוה, המלחמה עם היצר הרע, ואור יום הפטירה של יהושע