To be clear, that would mean that all stocks would be perfectly priced based on available information. But available information presumably includes uncertainties, and some companies will do better or worse than expected. It would mean that there'd be no gain in purchasing one company over another, or that there's no "cheap deals", but it wouldn't mean that money in the market wouldn't grow, nor change the fact that the S&P is likely your best option.
It might be that's all you meant by the above, in which this is merely an elaboration.