My husband of 11 years, and the father of my four children, confessed his homosexuality and left home to live with a man. Thirty years had passed until it came his time to die with lung cancer, and I was at the hospital, beside his bed. He said to me, "I wish I had lived my life for Jesus", and I said, "but could you have?" and he said, "Yes, I could have."
I hope that he died with his sin forgiven.
What happened to you is not unique. My aunts husband left his four children and her after 15 years of marriage. My wifes father left her and her sister after 7 years of marriage. Homosexuality destroys more than the souls of the participants; it often takes those who are closest along for the ride.
May the Lord bless you and yours and wash away your pain.