This under-represents the risks of bond investment. While it's true that the credit risk of treasuries is incredibly low, interest rate and inflation risk needs to be addressed more seriously than it is in this post. In today's market, it's easy to think of holding a bond until maturity under adverse interest rate movements as "not losing money". This is a false model. For example, a ten year treasury purchased at is…
So buy TIPS? But the elephant in the room is that inflation isn't the same for everyone. It's calculated based on a basic basket of goods, but if you're high income, it may not replicate your spending habits. Private school isn't factored into the CPI.
Like, the 5th percentile worst result is definitely worse for stocks compared to bonds over a one-year timeframe. But, the advantage of a better compound annual growth rate means that as you add more and more time to your investment timeframe, worst-case results for stocks get better compared to bonds. IIRC, the crossover point is very roughly 20 years out - at this point, the risk of stock corrections has been completely absorbed by having superior expected returns.