Inflation means prices are increasing. Your company probably gets more revenue when prices go up. Whether you come out ahead will depend on a lot of factors - what kind of inputs you have, how much pricing power, etc. But you can’t just discount your cash flows by the inflation rate unless you also incorporate the increased revenue into your estimate of the cash flows.