No that's a bad example. That's because you already purchased the home and executed the mortgage months or years earlier at a set price before the inflation hit. The bank is getting their agreed upon interest rate at the time they loaned you the money. Just like the seller of the house got their agree upon price at closing.
You're almost there! Let's see if we can get you the rest of the way.
So since I agreed (in 1996?) on the home purchase price & the mortgage interest rate, as well as the principal+interest repayment schedule, at that point,
inflation only helps me pay my mortgage more easily! That's literally the relationship between
inflation and
debt: good for debtors, bad for creditors. (And if you're really smart, you can figure out what
deflation means for debtors.)
But you know what I DIDN'T have a final, unchanging agreement on in 1996?
Taxes. So while the impact of inflation can be good or bad (good for a mortgage or student loan, bad for buying groceries or plane tickets), paying higher taxes (that change over time) simply means
less money in my pocket. That is
not the same effect as inflation. Not even close.
Also, this is the important part------------------> what happens to the cost of virtually everything else besides the loan you signed back when Tupac was alive?
The same thing that has happened to wages in the same time frame: they increase!
If you want to argue that inflation is bad... fine, whatever. That topic is clearly far too complex for us to have a productive discussion (though the arguments you are offering against inflation make it sound like you think deflation is a good thing).
My point is that inflation (and deflation) are not even remotely similar to a tax increase (or decrease) in a society that prints its own money. An increase in federal taxation has a direct and measurable negative impact to income, but inflation has many complex impacts on costs, some of which are good for the consumer and some of which are bad.