Investors have been focused heavily on tech, growth, and AI stocks over the past few years.
Now, the markets are getting more volatile and questions are arising about whether the AI rally is running out of steam.
Instead of running for the exits, you can help protect your investments with this simple portfolio pivot.
While the artificial intelligence (AI) boom has been great for stock market investors over the past few years, there are a few signs that the rally might be getting exhausted.
The "Magnificent Seven" stocks, which had been pushing the major averages consistently higher, are all down over the past three years. All of them except Apple (NASDAQ: AAPL) were in correction territory as the first half of 2026 ended, though Alphabet (NASDAQ: GOOGL) has since ticked up as well.
Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now, when you join Stock Advisor. See the stocks »

AAPL data by YCharts
Given the underperformance of these stocks and of growth stocks in general, it's time to acknowledge that no boom lasts forever. Investors may be looking for options that are more defensive and inexpensive than their choices over the past few years.
One of the best ways to position your portfolio for this is to focus on quality stocks. These are companies with healthy balance sheets that generate lots of cash flow. Their business models are also such that they can withstand multiple economic environments, both good and bad.
Image source: Getty Images.
Picking individual winners is notoriously challenging, so buying an exchange-traded fund (ETF) that owns a portfolio of these companies might be the better path.
The one that I prefer is the Invesco S&P 500 Quality ETF (NYSEMKT: SPHQ). It has a 42% allocation to tech currently -- understandable, given that's where the biggest earnings and revenue growth is coming from. But it also has 15%-20% allocations to both industrials and financials, as well as meaningful exposure to consumer staples stocks.
The fund is also weighted roughly 80% to large caps and 20% to mid- and small caps. This is a profile that not only pairs well with ETFs that track the S&P 500 and total stock market, but also provides protection for the next market downturn. Durability and diversity is what investors should look for concentration risk runs high.
When conditions get challenging, running for the exits is usually the wrong move. It's better to focus on high-quality companies that have been through it all before.
Before you buy stock in Invesco Exchange-Traded Fund Trust - Invesco S&P 500 Quality ETF, consider this:
The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Invesco Exchange-Traded Fund Trust - Invesco S&P 500 Quality ETF wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.
Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $418,761!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,195,804!*
Now, it’s worth noting Stock Advisor’s total average return is 918% — a market-crushing outperformance compared to 208% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.
See the 10 stocks »
*Stock Advisor returns as of July 4, 2026.
David Dierking has positions in Apple. The Motley Fool has positions in and recommends Alphabet, Amazon, Apple, Meta Platforms, Microsoft, Nvidia, and Tesla. The Motley Fool has a disclosure policy.