This is good advice, but a 6-8 year old car that sells for $8-10k won’t be worth $3k when it is 15-16 years old - it will be worth $1500-2000, tops.
I follow this same basic model when I think about car costs - I generally buy new, then take the cost and depreciate it over 15 years to tell me how much to save up per…