The S&P 500 (SNPINDEX: ^GSPC) continues to set new all-time highs, but investors are facing a number of warning signs that could signal trouble ahead.

The Consumer Price Index is approaching 4% and climbing, driven by conflict in Iran and soaring energy prices, creating uncertainty around the Federal Reserve’s rate policy.

This environment echoes conditions seen in 2022, when inflation rose to 9% and the Fed was forced to raise rates aggressively to bring prices back under control.

While 2026 is not as extreme as that period, the parallels are strong enough that investors should be considering ways to protect their portfolios from a potential downturn.

Dividend ETFs proved to be a reliable defensive tool during 2022’s bear market, with several outperforming the S&P 500 by a wide margin and recovering faster when markets turned higher.

The Schwab U.S. Dividend Equity ETF (NYSEMKT: SCHD) is widely regarded as a starting point in this category, offering a portfolio of high-quality companies with above-average yields and long dividend-paying histories.

During the 2022 downturn, the S&P 500 fell roughly 24% from its peak, while SCHD managed to cap losses at around 15%, and it continued outperforming the index into the fourth quarter as markets began to recover.

The Vanguard High Dividend Yield ETF (NYSEMKT: VYM) takes a more diversified, yield-focused approach and was virtually unchanged for the full year in 2022, beating the S&P 500 by approximately 18%.

VYM fell around 15% at its lowest point before outperforming during the final months of the year, demonstrating defensive characteristics even without an explicit portfolio quality focus.

The iShares Core High Dividend ETF (NYSEMKT: HDV) combines portfolio quality measures from Morningstar with an above-average yield, and it did not merely beat the S&P 500 in 2022 — it delivered a 7% gain for the full year while the broader index was mired in bear market territory.

Cyclical stocks, which are a common feature of dividend ETFs, tend to respond more quickly during economic recovery periods, giving these funds an additional edge when markets begin to turn.

With inflation elevated and interest rates expected to remain higher for longer, dividend ETFs appear well-positioned to offer portfolio protection if stocks begin correcting in the months ahead.