I'm going to keep it short because boy I could (and likely am already) rambling about this. I want to say. It's a lot of f'ing work to heal yourself, but it's worth it. It's worth learning who you are, what makes you happy (please note that I said what not who), how you want to live your life, what things are important to you? Keeping your mind open to answering these things can lead to interesting discoveries and new beginnings. Perhaps you will stay, perhaps you won't, but in the end you better make damn sure you are better for it anyway and I know you can.
marriage
Ever heard of Imago?
What I like is that no matter what is happening in your marriage, if you can truly get to the patterns and understand what you are triggered by, this will help you grow as a person.