> You're basically saying that whatever the price is, the market is right.
No, the efficient market hypothesis states that asset prices reflect all current available information. OP is not defending that hypothesis in their message, they’re just saying stock prices reflect expectations about the future, a much weaker assertion. Those expectations might turn out to be wrong, for various reasons, but they’re nevertheless what motivated people to invest in stocks rather than doing something else with their money.