The gemara says in bava basra that one who abandons Torah study will be consumed by fire [=gehenom] as a punishment. Maybe the fire is also an allusion to the yetzer hara [as it is used in numerous contexts]. If there is the fire of Torah the fire of the yetzer hara is neutralized, otherwise people are CONSUMED by their various desires.
בראתי יצר הרע בראתי תורה תבלין