The warranty ought to be part of the car price. I remember when you got 5 year warranties. Now they are 3 or less sometimes.
The standard warranty is 4 years or 50K miles. Other than rotating the tires, I shouldn’t have any other out of pocket expenses for the first three years since I don’t put a lot miles on my cars. I get 3 free oil changes, once a year or ~10K miles. Then after that, it should be changing other fluids..