That is exactly how it works for millions of people who bought or refinanced with record low rates. If you borrow $1million at 2% interest, and inflation is 10%, you are profiting $80k/yr if you put the money in an asset that goes up in value with inflation.