https://www.gurufocus.com/news/336523/speculative-asset-pric...
https://www.nobelprize.org/uploads/2018/06/shiller-lecture-s...
The comparison is between the actual stock prices against the constant discount rate of subsequent real dividends.
Day to day prices are unforecastable, and it's not really understood what drives pricing in the market.
The EMH states that the market incorporates all currently available information, but future dividends are known only in hindsight. Prices that fluctuate around future earnings therefore are not in conflict with efficient markets at all.
Yes the chart compares measured return (divs) against projected return (prices) so it is not a prediction machine but I think it does illustrate well that market prices are usually far from true value.