Bill Gates built his fortune in technology, but the foundation trust’s holdings offer ideas for investors seeking resilience heading into 2027. Our earlier coverage of stocks in Bill Gates’ portfolio examined several of these businesses. Their ability to withstand economic pressure deserves renewed attention as inflation complicates an otherwise strong growth outlook.
The foundation trust supports a substantial philanthropic undertaking. Its endowment stood at $92 billion as of June 30, 2026, according to unaudited figures. The foundation’s 2026 annual letter reiterated plans to spend an additional $200 billion before closing in December 2045.
More recently, the figures do not suggest an economy already in recession. Reuters reported on November 25 that U.S. GDP grew at a revised 4.3% annualized rate in the third quarter. However, October’s annual PCE inflation reached 3.8%, with core inflation at 3.3%, reinforcing expectations for further interest-rate increases. Strong activity therefore comes with persistent pressure on household budgets and business costs.
Latest surveys show growth moderating. November’s flash composite PMI fell to 54.6 from 55.9 in October, remaining above the 50 threshold separating expansion from contraction. S&P Global estimated that the survey indicated roughly 3% annualized fourth-quarter growth, while flagging affordability pressures and elevated inflation.
This backdrop favors examining how companies defend earnings. Affordable essentials can retain customers, recurring revenue can cushion weaker sales, and financial flexibility can reduce dependence on expensive borrowing. Our coverage of stocks to consider during a recession explores businesses serving persistent needs.
The trust’s current holdings that performed best during 2022 provide a useful starting point. Their historical resilience still needs support from present-day fundamentals: industrial companies remain cyclical, while consumer businesses must balance pricing against demand. The following selections examine those strengths and limitations heading into 2027.

Our Methodology
To compile our list, we reviewed the Bill & Melinda Gates Foundation Trust’s Q3 2026 stock portfolio and compared each holding’s share-price performance from December 31, 2021, through December 30, 2022, using split-adjusted closing prices and excluding dividends. We selected the 10 best-performing stocks during that period, including those that gained despite the broader market downturn.
We excluded FedEx Freight and Veralto because their shares did not trade independently in 2022, and MSG Knickerbockers because its available history reflects the combined Knicks-and-Rangers business rather than its current operations.
For each selected company, we examined the business characteristics that could support resilience during an economic slowdown, alongside relevant risks. We ranked the stocks by their 2022 price performance, with the strongest performer at number one. Here, “safest” refers to relative historical resilience and business durability, rather than an absence of investment risk.
Why are we interested in the stocks that hedge funds pile into? The reason is simple: our research has shown that we can outperform the market by imitating the top stock picks of the best hedge funds. Insider Monkey’s quarterly newsletter strategy selects 14 small-cap and large-cap stocks every quarter and has returned 612% since May 2014, beating its benchmark by 375 percentage points (see more details here).
10. Walmart Inc. (NASDAQ:WMT)
Share Price Performance in 2022: -2.01%
Bill & Melinda Gates Foundation Trust’s Equity Stake: $871,938,370
Walmart Inc. (NASDAQ:WMT) limited its 2022 share-price decline to approximately 2%, supported by a business built around affordable everyday purchases. Groceries and household essentials encourage repeat visits, while purchasing scale helps the retailer compete for customers trading down during an economic slowdown.
That positioning continues to support growth. Third-quarter fiscal 2027 revenue increased 5.2% to $188.84 billion, while adjusted earnings reached $0.65 per share. Membership fee revenue grew by double digits, adding income beyond merchandise sales.
Walmart Inc. is also using its stores to fulfill online orders, giving existing locations another source of sales. Advertising and third-party marketplace services can improve profitability without requiring a proportionate increase in inventory. These businesses broaden its earnings base, although advertising spending itself remains sensitive to economic conditions.
The cost backdrop is less favorable. Management said higher diesel and transportation expenses had added approximately $2 billion in incremental costs during the year, partly offset by nearly $3 billion in tariff refunds. Those refunds should not be treated as a recurring defense against inflation.
Our analysis of whether advertising and subscriptions justify Walmart’s premium valuation examines the distinction between dependable retail demand and the growth expectations embedded in its shares.
Roth Capital retained Buy and raised its target to $143 in November, arguing that infrastructure investment and e-commerce scale should improve earnings durability. That supports the operating case for Walmart Inc., but does not eliminate valuation risk.
Heading into 2027, Walmart Inc. has several ways to retain customers and earn more from their spending. The investment case depends on translating those advantages into recurring profit growth while preserving the low prices that attract shoppers in the first place.
9. McDonald’s Corporation (NYSE:MCD)
Share Price Performance in 2022: -1.69%
Bill & Melinda Gates Foundation Trust’s Equity Stake: $77,341,806
McDonald’s Corporation declined just 1.69% in 2022, making it one of the foundation trust’s more resilient holdings during the selloff. Its defensive appeal combines affordable meals with franchise royalties and rental income, reducing direct exposure to restaurant-level operating costs.
Affordability still needs work. Management has been testing additional entry-level offers for a planned national rollout in early 2027. Digital promotions and Extra Value Meals helped improve U.S. trends late in the third quarter, suggesting that customers respond when the savings are clear.
McDonald’s Corporation reported adjusted quarterly earnings of $3.57 per share, up 11%. It also increased its quarterly dividend 4% to $1.93, providing shareholders with a larger recurring cash distribution.
The franchise model remains central to earnings resilience. McDonald’s Corporation is targeting a 98% franchised global restaurant portfolio by 2028 and had refranchised approximately 175 locations across the U.S. and International Operated Markets through its third-quarter update. However, its 48.3% year-to-date adjusted operating margin also benefited from restaurant-sale gains, which should be distinguished from recurring franchise earnings.
Our coverage of McDonald’s push to win back budget-conscious customers through lower-priced meals explains the commercial challenge: discounts must generate enough additional business to remain worthwhile for franchisees.
Wells Fargo raised its target to $300 in early November and maintained Overweight, citing progress on value and further initiatives planned for 2027. RBC remained more cautious, noting pressure on franchisee paybacks.
McDonald’s Corporation can benefit when diners choose cheaper restaurants, but it still competes with eating at home. Sustained traffic recovery, profitable promotions, and healthy franchise operators would provide stronger evidence of resilience than earnings growth supported partly by refranchising gains.
8. Anheuser-Busch InBev SA/NV (NYSE:BUD)
Share Price Performance in 2022: -0.84%
Bill & Melinda Gates Foundation Trust’s Equity Stake: $125,119,410
Anheuser-Busch InBev SA/NV (NYSE:BUD) ended 2022 down only 0.84%, demonstrating relative share-price resilience during the downturn. Its geographic spread, established brands, and products across price points help diversify demand, although alcohol spending remains discretionary.
The latest quarter shows why that diversification matters. Beer volumes were broadly flat as growth in roughly two-thirds of its markets offset weakness in China. Total volumes increased 0.4%, while organic revenue grew 4.9%, supported mainly by revenue management and product mix.
Anheuser-Busch InBev SA/NV increased normalized EBITDA 3.9% organically and underlying earnings per share 22.4% to $1.21. Its EBITDA margin was 36.1%, although higher commodity costs and marketing investment constrained profitability.
Adapting the portfolio offers another source of resilience. Non-alcoholic beer revenue increased 35%, led by Corona Zero and Michelob ULTRA Zero. Management estimated that approximately 60% of this category’s volume came from new consumers and drinking occasions, suggesting opportunities beyond shifting customers between existing brands.
Our coverage of investment behind Michelob ULTRA and Cutwater examines how Anheuser-Busch InBev SA/NV is directing capital toward stronger-performing products.
Shareholder distributions are also increasing. The board approved a €0.40 interim dividend per share, compared with €0.15 a year earlier. The company had repurchased $2.6 billion under its existing $6 billion program.
However, JPMorgan downgraded the shares to Neutral on November 24 and lowered its target to $82, citing volume pressures and expectations for broadly flat free cash flow in 2027.
Anheuser-Busch InBev SA/NV has the scale to defend profitability across uneven markets. Maintaining that protection will require pricing discipline and cost control, particularly around transportation expenses that cannot be fully hedged, while consumers reassess discretionary purchases.
7. Dollar Tree, Inc. (NASDAQ:DLTR)
Share Price Performance in 2022: +0.65%
Bill & Melinda Gates Foundation Trust’s Equity Stake: $155,183,728
Dollar Tree, Inc. (NASDAQ:DLTR) finished 2022 with a 0.65% gain, holding its ground as the broader market declined. Its low-price merchandise can attract households seeking to stretch their budgets, giving the retailer a potential cushion when consumers reduce discretionary spending.
Recent results suggest that appeal is translating into visits. Third-quarter comparable sales increased 4.6%, driven primarily by 3.8% traffic growth. Consumables delivered an 8.9% comparable-sales increase, substantially outpacing discretionary merchandise. Dollar Tree, Inc. is therefore benefiting from demand for everyday purchases rather than relying solely on shoppers spending more per transaction.
Execution is also improving. Inventory declined 3.8% despite higher sales, helping release working capital and keep assortments fresh. However, adjusted operating margin fell 120 basis points to 6.1%, including a 195-basis-point drag from net tariff-related reinvestments. Higher freight and product costs, alongside a shift toward lower-margin consumables, remain pressures.
Dollar Tree, Inc. raised its fiscal 2026 adjusted earnings outlook to $8.05–$8.25 per share, including approximately $0.65 in net tariff-related benefits. That contribution matters when assessing the earnings base entering 2027.
Our coverage of Dollar Tree’s earnings-driven rally to a three-year high examines the market’s response to that improvement. On November 25, Truist raised its target to $169 and maintained Buy, citing value, convenience, and better store standards.
Dollar Tree, Inc. has a credible defensive demand proposition, but protecting profits requires more than attracting bargain hunters. Management expects elevated fuel and freight costs to persist, while transition-services income winds down. Continued traffic gains and tighter operating costs will be important as those supports fade.
6. Berkshire Hathaway Inc. (NYSE:BRK-B)
Share Price Performance in 2022: +3.31%
Bill & Melinda Gates Foundation Trust’s Equity Stake: $6,199,132,421
Berkshire Hathaway Inc. (NYSE:BRK-B) combines a 3.31% share-price gain in 2022 with substantial financial resources heading into 2027. Its insurance, utility, railroad, and manufacturing businesses generate earnings from different sources, reducing dependence on any single industry.
The clearest protection is liquidity. At September 30, its insurance and other businesses held $352.3 billion in cash, cash equivalents, and Treasury bills, net of unsettled purchases. That reserve gives Berkshire Hathaway Inc. room to meet obligations and pursue investments without relying heavily on financing during stressed markets.
Insurance adds another advantage. Float, representing funds held before claims are paid, reached approximately $178.5 billion. Underwriting profits made its average cost negative during the first nine months of 2026. This creates investable capital, although insurance losses can rise sharply when catastrophes occur.
Berkshire Hathaway Inc. generated $33.9 billion in operating cash flow during those nine months, against $16.1 billion in capital expenditure. The group also repurchased approximately $14.4 billion of shares. Its policy permits repurchases only below management’s conservatively estimated intrinsic value, while preserving minimum liquidity.
Those purchases make capital allocation worth watching. Our analysis of Berkshire’s cash deployment and the valuation investors are paying for it explores whether acquisitions and buybacks can justify the stock’s premium.
Berkshire Hathaway Inc. still faces recession exposure through freight, manufacturing, housing, and its equity investments. Utilities provide recurring demand, but they also require considerable capital spending. Diversification reduces concentration rather than eliminating economic sensitivity.
Its strongest safety argument is the capacity to absorb setbacks while continuing to invest. For shareholders, the remaining question is whether the purchase price leaves enough room for slower earnings growth.
5. PACCAR Inc (NASDAQ:PCAR)
Share Price Performance in 2022: +12.13%
Bill & Melinda Gates Foundation Trust’s Equity Stake: $109,810,000
PACCAR Inc (NASDAQ:PCAR) earned its place with a 12.13% gain in 2022, but its resilience extends beyond selling new trucks. The manufacturer behind Kenworth, Peterbilt, and DAF also supplies replacement parts and financing, supporting earnings between fleet replacement cycles.
The parts business is particularly important during weaker conditions. Operators may postpone buying trucks while continuing to maintain vehicles already on the road. PACCAR Inc reported record third-quarter parts revenue of $1.78 billion, although segment pretax income edged down to $404.4 million from $410.0 million a year earlier.
Overall revenue increased 19% to $7.94 billion, while net income rose 44% to $847.5 million. Financial Services contributed $138.1 million in pretax income, although that business remains exposed to customer credit quality and used-truck values.
Looking ahead, PACCAR Inc expects the U.S. and Canadian Class 8 market to reach 240,000–280,000 trucks in 2027, compared with 240,000–260,000 in 2026. The overlapping ranges suggest a measured recovery rather than an assured surge. Uncertainty around emissions-related costs could also delay purchasing decisions.
Valuation needs similar discipline. Our coverage of why Madison Investments trimmed PACCAR as recovery expectations entered the share price illustrates the distinction between business quality and investment value. BofA retained Buy in late October but reduced its target to $120, arguing that a lower multiple was appropriate as the cycle recovered.
PACCAR Inc offers a stronger defensive case through its established truck fleet, parts distribution, and customer relationships than through new-truck demand alone. Those advantages should help sustain earnings through softer freight conditions, while fuel costs, financing pressures, and replacement timing remain the principal uncertainties.
4. The Kraft Heinz Company (NYSE:KHC)
Share Price Performance in 2022: +13.40%
Bill & Melinda Gates Foundation Trust’s Equity Stake: $56,177,472
The Kraft Heinz Company (NYSE:KHC) rose 13.40% in 2022, reflecting the relative resilience that packaged-food businesses can offer during market stress. Its familiar meal and condiment brands serve recurring household needs, although dependable food demand does not guarantee shoppers will choose branded products over cheaper alternatives.
That distinction is visible in current results. The Kraft Heinz Company reported a 1.1% decline in third-quarter organic sales, while adjusted operating income fell 15.2% to approximately $900 million. Nevertheless, free cash flow reached $2.4 billion over the first nine months, providing resources to support investment and shareholder distributions.
Management is spending to restore competitiveness. Approximately $700 million in incremental 2026 investment supports the turnaround, including marketing and innovation. Our earlier analysis of why Kraft Heinz still needs volume growth to validate its turnaround explains why higher spending alone is insufficient.
At its November investor day, The Kraft Heinz Company outlined expectations for roughly flat organic sales in 2027, with growth returning in the second half. Margin expansion is targeted for 2028, indicating that investors should expect a gradual recovery rather than an immediate earnings rebound.
Portfolio changes could sharpen that focus. The planned North American coffee divestiture values the business at $650 million, with the company retaining a 30% stake and completion expected in mid-2027.
UBS raised its target to $26 on November 5 but maintained Neutral, acknowledging improvement while arguing that more evidence was needed.
The Kraft Heinz Company offers recurring demand and meaningful cash generation, but its defensive appeal depends on preserving consumer loyalty as costs rise. Higher prices may protect margins while making private-label alternatives more attractive, a balance the turnaround must resolve.
3. Caterpillar Inc. (NYSE:CAT)
Share Price Performance in 2022: +15.88%
Bill & Melinda Gates Foundation Trust’s Equity Stake: $5,151,446,695
Caterpillar Inc. (NYSE:CAT) gained 15.88% during the 2022 market downturn, placing it among the strongest performers that year within the foundation trust’s current portfolio. Its construction, mining, and power equipment businesses serve different investment cycles, while replacement parts and maintenance provide continuing demand after machines are sold.
That diversification is supporting current earnings. Caterpillar Inc. reported third-quarter 2026 revenue of $20.7 billion, up 17%, while adjusted earnings per share increased 45% to $7.20. Growth reflected both higher equipment volumes and favorable pricing.
Power generation offers additional support heading into 2027. Power-generation sales to users increased 75% in the quarter, driven by demand for turbines and large reciprocating engines used in data centers. Total backlog reached $78 billion, with some engine orders extending into 2029 and turbine orders into 2030. This provides visibility, although spending remains exposed to customers delaying projects.
Caterpillar Inc. also generated $3.8 billion in machinery, power, and energy free cash flow during the quarter. Enterprise cash of $7.9 billion strengthens its ability to fund investment and shareholder distributions through softer conditions.
However, equipment demand and dealer purchases do not always move together. Our analysis of whether Caterpillar can sustain growth after dealers stop restocking examines why end-user demand matters more than inventory accumulation.
Valuation remains a constraint. On November 2, DA Davidson maintained Neutral and reduced its target to $685, acknowledging broad operating strength while noting a roughly 50% valuation premium to peers.
Caterpillar Inc. therefore offers financial flexibility and diversified earnings rather than recession immunity. Services demand and cash generation provide cushions; construction spending, commodity investment, and the price investors pay remain central risks.
2. Coca-Cola FEMSA, S.A.B. de C.V. (NYSE:KOF)
Share Price Performance in 2022: +23.89%
Bill & Melinda Gates Foundation Trust’s Equity Stake: $671,438,241
A 23.89% gain in 2022 puts Coca-Cola FEMSA, S.A.B. de C.V. (NYSE:KOF) among this portfolio’s strongest performers during the downturn. The Latin American beverage bottler’s frequent, relatively inexpensive purchases offer a more direct defensive argument than businesses dependent on customers committing to expensive equipment.
Affordability is central to that resilience. Coca-Cola FEMSA, S.A.B. de C.V. uses different package sizes and price points to retain consumers under financial pressure. Its distribution network and established brands help maintain access to customers across markets with different economic conditions.
Third-quarter 2026 volumes increased 5.3%, while revenue rose 10.9% to MXN79.7 billion. Growth across its operating regions supported the result, showing that sales expansion extended beyond price increases.
Profitability requires closer inspection. Coca-Cola FEMSA, S.A.B. de C.V. reported 15.4% operating-income growth, but the quarter included MXN1.1 billion in Brazilian insurance recoveries. Excluding that benefit, operating income increased 7.4%, while the operating margin contracted 40 basis points to 13.6%.
Protecting demand can therefore come at a cost. In Mexico, a greater contribution from multi-serve packages supported affordability but weighed on product mix. Our earlier coverage of Coca-Cola FEMSA’s response to weak Mexican consumption and higher beverage taxes explains the pressures behind this strategy.
Barclays raised its target to $128 on November 19 while retaining Equal Weight. Its Mexico consumer outlook identified a stronger starting position for 2027 but highlighted rising labor costs.
Coca-Cola FEMSA, S.A.B. de C.V. enters the year with growing volumes and established customer reach. Sustaining those gains while improving package mix and controlling expenses will determine whether resilient demand translates into stronger underlying margins.
1. Deere & Company (NYSE:DE)
Share Price Performance in 2022: +25.04%
Bill & Melinda Gates Foundation Trust’s Equity Stake: $2,388,957,196
Deere & Company leads this selection on historical performance, having gained 25.04% in 2022. Its agricultural and construction equipment supports essential economic activity, although farmers can postpone machinery purchases when incomes weaken. The safety argument rests on its competitive position and ability to remain profitable through that cycle.
The latest results illustrate both sides. Deere & Company reported fiscal fourth-quarter revenue of $12.1 billion, down 2%, and net income of $1.05 billion. Production and Precision Agriculture sales declined 15%, while Small Agriculture and Turf and Construction and Forestry grew 10% and 12%, respectively.
Parts, servicing, and precision upgrades help preserve customer relationships between equipment purchases. Technologies that reduce input costs also give farmers a reason to invest despite tighter budgets. Management reported that See & Spray covered approximately 12 million acres globally, with the technology included in about one-third of North American sprayer early orders.
For fiscal 2027, Deere & Company expects net income of $4.5 billion to $5.25 billion and operating cash flow of $4.5 billion to $5.5 billion. The outlook includes higher pension-related expenses, partly reflecting an expected noncash settlement charge. Management also anticipates a 5%–15% recovery in U.S. and Canadian large agricultural equipment industry sales.
The share price still needs to justify that recovery. Our coverage of why valuation matters for Deere when bond yields rise highlights this distinction. BMO raised its target to $600 on November 26 but retained Market Perform, describing valuation as stretched.
Deere & Company has durable technology and service advantages. Those strengths support resilience, but a premium valuation leaves investors exposed if the agricultural recovery disappoints.
READ NEXT: 10 AI Infrastructure Stocks to Watch After CoreWeave’s Earnings and Missed the First AI Rally? 10 Oversold Stocks With 50%+ Upside Potential.





