The market can stay irrational longer than you can stay solvent.
This isn't to say that it's not without its uses, but we should be aware that it has huge problems even if we don't know of a way to fix them yet.
By definition, every non-ideal behavior of real markets is a “market failure”.
Real markets, as opposed to Econ 101 idealized ones, are full of market failures, both due to structures that Econ 101-level analysis ignores about basic market structures and human irrationality.