Or can it?
That depends on how you define happiness. If you define is as satisfaction with quality of life as defined by goods and services on offer, then capitalism can deliver.
But is that what happiness is?
Oh. And btw, this is not an attack against capitalism. It works amazingly well in achieving its purpose. This is about something else altogether.