It's quite serious that you see "being good" as something inferior to "the core of capitalism".
Also, the core of capitalism is making money for private individuals, nothing more, nothing less. Whether that's done with or without "failing things", is really beside the point.
What private individuals choose to do with their capital, chase infinite growth and profit or sit on it, is up to them. This is as opposed to say, state ownership of capital.
People confuse the stock market with capitalism. You don't need a stock market for capitalism to function. Publicly traded companies in the United States are legally bound to maximize profit (Dodge vs. Ford Motor Co.)
Plants do this. What’s it got to do with capitalism?
So errors abound, and have to be subsequently corrected. This correction process is as natural to capitalism as breathing is to you being alive. Without it, things would rapidly grind to a halt. We see this in sclerotic centrally planned economies where errors persist for much longer.