Sure, Wall Street serves a purpose in allocating capital. So do personal injury lawyers. That's not why people are mad at them. Read the New York Times. The outrage is largely directed at activities that don't pass the "smell test." Traders losing billion dollar bets with pension fund money, private equity firms loading up healthy companies with debt than cashing out, the insidious relationship between Wall Street and the Treasury/Fed. If Wall Street stuck to underwriting IPOs and providing business loans and other unobjectionable activities, it wouldn't raise peoples' ire. But if they stuck to unobjectionable activities, their revenues would also be cut by more than half and profits by even more than that.
An interesting statistic is that Google's is more profitable than Goldman Sachs by almost every metric. They have higher revenues per employee, higher profits per employee, higher profits per unit of equity, etc. Nobody is demonstrating in Amphitheatre Parkway about how Google is ruining the country. Because people are smarter than you give them credit for.