ISTM that improving one's emotional self-regulation is an excellent first-line response to being in what seems to be a toxic job. It may be that leaving that job and applying for another is still the right thing to do, all things considered, but we cannot know for sure unless we are in that situation ourselves and can de-stress enough to do a proper evaluation of it.
I agree that improving emotional regulation is a first step to building up the energy to change a situation.
My issue with modern internet style pseudo-stoicism is that it's fixated on becoming indifferent (the title of this article, even) and breeds a sort of learned helplessness. The article's sub-heading is about prisoners and warriors, but using techniques optimized for being a prisoner or stuck in a war isn't quite right for someone navigating a toxic relationship or toxic job where you're not actually entirely helpless.