I respectfully disagree. It SAVES you a LOT of money in the long run to fix a car rather than replace it (other than rust or extensive body damage). $1,000 on tires that will get you another 40,000 miles of transportation, a bargain. A new transmission at $2,000 will get you another 100,000+ miles.
The average cost of a new car in 2019 is $36,843. Here in California, the sales tax alone would be $3,000 on top of that. Sales Tax buys you nothing. But $3,000 on a transmission and other repairs can get you another 100,000+ miles
But, full disclosure, last year I got rid of my family car that I bought new and drove for 31 years. And you need look no further than fleet vehicle operators. they fix, they don't replace because they look at the cost per mile.
it's been several years since we lived there, but isn't also cheaper on the yearly registration on an older car in california? it seems to me that we used to pay higher fees on our newer ones there so it was always a consideration on repairs vs. replace.