With the S&P 500 poised to enter a bear market as stocks continue to slide in 2022, investors looking for stable names in tough times have some opportunities. The general market index struggled on Thursday to stay green. It was down 18% over the year and was down 19% from last year’s high. Stocks have been through several bear markets over the past 20 years, and a handful of companies have done fairly well despite the carnage, CNBC Pro found. We looked at stocks in the S&P 1500 Composite Index, using FactSet, which showed the best average returns in each of the last three bear markets (2007-2008, 2009 and 2020) and 2022 to date. We also discount stocks that lost more than 20% of their value during any of those periods. Finally, we look for stocks that pay at least 2% dividends. Here are the six we found: Source: FactSet Campbell Soup showed the lowest number of losses over time, with a median of -4.7%. It is tied with General Mills, which showed the same average loss. Both stocks are the only two on the list still in the green for the year, as of Thursday. Campbell is up 8%. At the other end of the list, Clorox and Colgate-Palmolive show bigger losses, although they were still below 20%. Clorox has a negative median loss of 9.9%. Colgate-Palmolive, whose losses have deepened in each subsequent bear cycle, has an average loss of 15.5%. All but one, Gilead Sciences, are in the non-cyclical consumer sector. Gilead has the highest dividend yield on the list, at 4.5%. The dividend yield shows how much a company pays each year as a percentage of its stock price. Flowers Foods also made the list, sitting right in the middle with an average loss of 8.7% and a dividend yield of 3.3%. It’s down nearly 7% this year.