If you don't have the direct power to hire and fire, then yeah, you have to walk. Find another gig. It never gets better.
Put another way, some bad situations are not accidental. If you try to fix them, you become the problem in the eyes of those maintaining it.