Ideally, you would save up for a one-time purchase of something like the Switch 2, so (a) you already know it's going to be hundreds of dollars, and a change of 10-20% isn't proportionally a huge deal (though it may delay the purchase a little), and (b) you only have to buy it once. Groceries going up 20% hit you every week (it's not like you can just stop buying groceries).
I don't understand human