Historically, stocks have generated higher returns than bonds over the long term. However, stocks also come with higher risk and volatility. The performance of both asset classes can vary.