Like ~15 years ago I heard peter singer saying that the emissions from the lifetime use of a car were lower than those from making it, so you should only ever buy a second hand car.
That was before widespread EVs though.
I often wonder how long you have to use a 2nd hand gas car for, before the emissions outstrip those of making a brand new EV.