You get paid only your principal at maturity with a bond, whereas with a stock you still own a company, and if that business is competitive, run by capable management, and was reasonably valued when you bought it, the current market value of your ownership should exceed your original investment.