No. Capitalism is ineffective at solving lots of problems. Particularly problems of the kind where there is universal inelastic demand, where competition makes the end arrive or product less affordable or efficient, where externalities are not priced in, and where there are single/few or a unique instance of a thing that can be used by the public.
Examples: healthcare, food and water for sustenance; insurance; pollution; parks and roadways, residential property; respectively.