Getting fired from a predatory, horrible company like what the author describes is not shameful at all. It’s a badge of honor.
I'm not saying one should aim to be fired, but if you smell an abusive company, it's sometimes better to wait for the axe, act professionally, and come out ahead.