Your first paragraph was pretty much true. Unions don't exist to be nice to the executives and shareholders. That's not their purpose. Their purpose is to act as a balance to the outsized power that corporate management and shareholders wield in the employee-employer-shareholder relationship. They only care about the "health" of the company to the extent that the company is healthy enough to provide good compensation and working conditions to employees. They're not there to add shareholder value. This is working by design.
You're getting hot backlash for framing this as tragic. Doubly so since you identify as "part of the worker class" but your entire post is simping for the executive and shareholder class who don't care about you and would lay you off without even thinking about it if it would increase the stock price.