It all depends on circumstances. If a thousand dollar repair a year and a half is going to cause financial issues but is OK now, spend the money to extend the warranty. That assumes it is from the manufacturer, not a third party provider.
I retired a couple of years ago, bought a low mileage (1...