I imagine there are quite a few people who would agree with you; had Jobs stayed on at Apple, he wouldn't have learned the hard-won lessons from starting Pixar and NeXT.
Yes, but the lesson learned should be "sometimes things unexpectedly wind up working out well", not "fire your CEO and you too could become the highest market cap company in the world"...