Problem with that is if interest rates go higher for longer. Its OK if you're happy to hold for the full 10 years, but if yields go to 6% and you want to sell, then your bonds are worth way less.