Presumably the parent meant a stock whose share price tracks inflation in spite of its dividend. So if you reinvest the dividend, you beat inflation and potentially beat the market, depending on the dividend yield.
At that point wouldn't bonds make more sense? Seems like the risk vs. reward balance is skewed the wrong way if you own a piece of stock that stays flat.