I failed to clearly make my point obviously. Allow me to try again.
You are looking at your past experience over this decade and using that imply something about future performance - these ten years in aggregate have been lackluster so maybe the next ten years will be too. Meanwhile past history over a longer time course has shown that stocks perform best. Now neither time course is actually an assurance of future events but a longer view is likely less subject to the effects of temporary volatility.
It also begs the question of, absent a crystal ball, what you should do instead.
Let us look at some indicies (source - Charles Schwab behind my sign in):
The Aggregate Bond Fund Index is up an average annual of 3.68 for the past 5 years and 5.68 for the past ten.
The S&P up 7.58 for the past 5 years and 2.88 for the past ten.
Russell 2000 up 5.53 past 5 years and 10.29 past ten.
So bonds have lost to both stock indices over the past 5 years, lost to one of them and beat one over 10 year and 20 year performance has already been referenced. Past performance overall favors stocks to bonds. For what that is worth.
Now I have heard the argument made that you should use your money to pay down your mortgage faster (e.g. making an extra payment per month, and assuming that you have a mortgage) and that makes some sense, albeit you create a very illiquid savings vehicle. Still, a goal of being able to pay for the kids’ college years may be partly served by not having to make mortgage payments those years. I still like the tax savings of a 527 though.
Scylla’s point is cogent: “best” is a meaningless term unless you define your circumstance, your particular goals and your risk tolerance. No one knows for sure if the next ten years will act like the last five, the last ten, the last twenty, or none of the above.
Personally I believe in: maxxing out in my company’s 401-K (and choosing a selection of large and small cap funds with giving serious consideration to low cost index funds as offered, international funds, and smaller amounts in bond funds); funding the kids’ 529’s college funds early; having a 15 year rather than a 30 fixed rate mortgage; and rolling my own with individual more speculative picks with the rest, rarely selling a winning pick before a year and usually holding a pick much longer (avoiding short term capital gains). Once I have my fairly safe diversified selection building gradually in my retirement funds, and the kids’ colleges on track for being paid for (both in tax protected manners) then I have a high tolerance for risk with the rest, such as it is. That’s best for me. Your mileage may vary.