REITs, gold, and commodities (among others) are also good hedges against inflation.
May I suggest you run a M* comparison of REITS, Commodity EFS vs Consumer discretionary ETF & Consumer staples over all time intervals 1m to 15 years. I did that exercise last week and it solidified my choices.
Start at a quote, select see full chart.
In the upper left add a ticker at a time to add comparison.
Then check each time period.
I compared VCR, VDC, VGT, GLD, MORT, VNQ, SPY, GSG and VONG
https://www.morningstar.com/etfs/ARCX/VCR/quote