Hedge funds provide value in 1) providing liquidity and 2) more accurately setting prices.

People who engage in gambling, such as on horses, do so voluntarily. This means that they believe they are getting value for their money blown, even if you don't see the point in gambling yourself.

A lot of gamblers find gambling to be highly entertaining, even when losing. Personally, I find it dull.