Igros Moshe(O.H. 4:115): The first thing you need to know is that homosexuality has the severe punishment of stoning and kares and it is also called disgusting by the Torah itself. It is one of the most debased sins and it even is prohibited for non‑Jews. This knowledge is a strong bulwark against the yetzer harah. Secondly it is inexplicable that there should be a lust for it. That is because in the creation of man himself there is no natural lust for homosexuality… The desire for homosexual relations is against natural lust and even the wicked do not have a desire for it itself. Rather their entire desire for it is only because it is something prohibited and the yetzer harah seduces them to rebel against the will of G‑d. This knowledge of what is the will of G‑d is a powerful protection against the yetzer harah. You have already defeated the yetzer harah in that you believe in G‑d and all the 13 principles of faith and the entire Torah. With this you can defeat the yetzer harah in this that it seduces you to rebel against G‑d and to anger Him. There is an explicit verse in HaAzinu “That with abominations they provoke Him to anger” [Devarim 32:16] Rashi says an example is homosexuality which is a sin which causes G‑d’s anger. He also says this regarding magic which interferes with the Heavenly family as is stated in Sanhedrin (67b). Thus the explanation of this verse is that it causes you to deny the decrees of Heaven and to act to anger G‑d – chas veshalom! The third thing is that homosexuality is an embarrassment even to the common man. Because the entire world – even the wicked - ridicule those who are homosexuals. Even in the eyes of the wicked who participate in these acts, he looks down on the one who did it with him and ridicules and insults him. This awareness will greatly strengthen you against the yezter harah. …Awareness of how debasing a sin is, is a good advice to strengthen oneself against the desire to do a sin which is disgusting and ridiculed such as this one. Because not only is it against the Torah which prohibits it with the most severe punishment, but it is also the greatest embarrassment to his whole family. The greatest advice to overcome this is to learn Torah in depth. This will save and guard you from all sins – even from the thoughts of sins as the Rambam states at the end of Hilchos Issurei Bi’ah: “Greater than all this, turn oneself and ones thoughts to words of Torah and expand one’s mind in wisdom.” So surely this will save you from the yetzer harah of this despised sin.

