Let's consider scenario like this:
Today's inflation 5%
10y bond yields 4%
Are you dumb if you buy it? Not at all. If inflation stays at 5% for first year - you lose 1% but if inflation drops to 2% for the next 9 years you get 2% real return which is not bad at all.
If you trade then...