At the risk of being tarred and feathered, hated and despised  I will try to shed some light from the perspective of a closeted gay man.
I am 60 yrs. old, married when I was 21 back in '73. In my area in those days a man was in trouble if it was known that he was gay, I had been taught from my youth that gays were evil and God hated them, I remember laying in my bed at night at the age of 16 begging God to make me "normal", I finally convinced myself that He had, I found that I could have sex with a woman, I had done it with many males, but women did not even get me hard when I masturbated.
When I found that I could get it up and even "make love" to a woman I honestly believed that God had changed me, I got married believing this.
Not long into my marriage my wife lost interest in sex, I got it when I was lucky, so it was back to jacking off for most of my pleasure,
along with this came fantasies of the guys that I had been with, I lied to myself and said it was just old memories, that's all.
Before I knew it I was married for 10 yrs. had a son and my wife was disabled, there was no way I was leaving my son, my dad had died when I was 9, my son would have a father.
To cut to the chase, it's been 20 yrs. since I have had sex with my wife, she has no interest, I don't cheat, not that the idea has never entered my mind, I just know that it would change the dynamics of our home life, so, am I a liar because I have never told her that I am gay? maybe, I guess, so, hate me, you won't be the first.
In my opinion I have lived an honorable life, raised my son and been faithful unless some might wish to condemn jacking off to gay porn, but, I will say this, those who preach tolerance should practice it.