2 years back I quit the company to start freelancing, and sometimes when I look back - I regret wasting those valuable years of my life.
It feels like my situation just 2 years back. I stayed in such a company for 7 long years because of various reasons - but also because it got very comfortable - I had the option to do bad-to-mediocre work and no-one would question it, because everybody thought it was "great work". Three years into the company I had once complained to a new manager that most of the team did "mediocre work" and did not even take minuscule risks. The result was - the new manager put me into a PIP, ironically in a quarter when I was performing very good. She came to apologize a week later. But formally never cleared my name off PIP, instead marked me as a employee she cured on the HR records. That was cruel.