Who is the house?

Most of the time, when someone says the stock market is a casino (or like a casino), the rejoinder is “and the house always wins.”