I don't understand your first sentence. The second one is true, did my comment confuse the two?
A market is a group of people. A for-profit firm provides good or services (value) to individuals in a market in exchange for money.
You implied that billionaires donate to charities because markets aren't great at solving such a problem, even though charities are market institutions.