Capitalism is only bad for those who do not share profits coming from better productivity.
Government regulation is needed to balance inequality created by capitalism: progressive tax, competition laws, professional unions etc. Workers are also responsible to bargain deals that make them share more benefits and raise their bar.
This is everlasting struggle.