Oh that’s so tough.
You say you “can’t afford to divorce,” but what price does your mental and emotional wellbeing cost? What price do you put on happiness, or at least contentedness? Sure, you’d pay a financial price in the short and long term and an emotional price short term, but you can always earn more money. You can’t ever get back time spent being miserable.
Just food for thought.