My Mum has been unhappily married for 30 years now (not to my Dad). She has known for the past 27 years that she wasn't happy, yet she stayed. Why? Because she worried what other people would think of her if she left.
It makes me so sad that she still has another (hopefully) 25+ years left in her life, and she is potentially going to be stuck in that same unhappy relationship for the entire time.
Do what you need to do so that you don't wake up in 40 years and realise you've just been treading water day after day after day. Go and live YOUR life.