I wish you luck.
I had a bucketful of this kind of shit, but rather more extreme with plenty of violence coming at me, when I was married. And like oldmanmtb I stayed because of the kids. It didn’t do me any good and in hindsight I wish I had gotten out sooner. Eventually it was untenable and I had to get out which was followed in fairly short order by a total breakdown and my getting the kids. That was a bonus but I was then fleeced financially through the divorce court once she recovered.
I’ve recovered financially and the kids went on and achieved great things, but the mental scars remain.
I’d also say….. Look after yourself. Don’t discount getting out and saving your own sanity. Knowing what I know, if I were you, I’d not wait too much longer.