Before I came out to my wife, I was with her for 6 years (at the time) and she was very closed minded. Experiences with my overly-activist younger brother who I believe falsely labels himself as a part of the LGBT community which i doubt because his form of execution suggests that he's looking for attention rather than struggling with a part of himself the world might not accept. But I digress; after all the constant lecturing my brother would give me and my wife about gender and orientation and things like that, and also after my wife and brother having fought it out almost physically over something that took place between our dogs, my wife learned to associate anything in relation to gender issues as an annoying topic. So to her, just the fact that I might be anything other than male was an annoyance and not worth staying.
I struggled with it for months, I told most of my friends before i even told her... At some point i realized that our marriage was already in trouble because i was always constantly depressed and having panic attacks, and I was always angry and we would always argue... at some point i decided "if i stay this way, my marriage will end eventually, and I'd rather die than live the rest of my life as this male person". So i came out to everyone and anyone, including my entire family, my wife, and at work, because in my head, if i was going to live a lie for the rest of my life, i may as well be dead. I risked losing my job, my wife, my friends, my family... and in the end I ended up almost losing my marriage, and i lost my best friend of more than 11 years, indefinitely.
People in my town talk endlessly behind my back (its a small town) and I'm practically the joke of my generation in my town, all my friends from high school who I was acquainted with, all made the assumption that i'm a freak or that respect for me is no longer applicable. But was it worth it? ->-bleeped-<- yes it was worth it.... I can wake up and not feel like my life is an atrocious lie, I can see a future in my life, i'm no longer depressed or suicidal.... My life has gotten more difficult and because of my transition, a lot of friends "cant invite me over to their house" (they still live with their parents) and it hurts to watch all my friends have fun in someones house that I can't go to.... but when I go to sleep at night and wake up in the morning, i know who and what I am finally after 23 years of confusion and anger and being lost. I was lucky enough that my wife realized that the person she loves is still me, just not the same gender.
Now, she's more excited about my transition than I even am

and she corrects people who misgender me, she even refers to me as her wife. She even gets more upset when people refuse to properly use the correct pronouns.
Me and her took a 2 month break back when it was all falling apart, before the break i had come out to her 2 months prior. After the break she realized that she fell in love with my soul, not my gender, and because of this we were able to move forward, and I can honestly say that my marriage is stronger than ever. But even if I would've lost her, that wouldn't have stopped me, because I even told her when i knew what I wanted the following: "If you can't be happy with me, i wont force you to stay, i just want you to be happy and get what you want out of life, just like I'm doing right now, even if its not with me."
I was willingly risking it all for the sake of finally being happy after 23 long and painful years of misery and feeling like i have a cancer in my mind.