I guess I'll be the one person to suggest that the new car isn't always a completely dumb move.
First, I have absolutely terrible luck/experience/whatever with picking used vehicles. Several used cars have ended up costing me more over the holding period than the new cars I have bought. There are people that will tell you to pick so and so and look out for such and such, and I've read all of that and I've still bought lemons. I can even do my own repairs fairly well. I just keep getting crappy used cars. I say this to set the context of my decisions. I'm probably statistically more likely to come out monetarily ahead buying used, but not really by that much compared to the stress I've endured with crappy cars over my life. Others have had good luck or are more skilled.
We have only one car. I live in a town with ZERO public transportation options, no sidewalks, and death-wish cycling roads. I still bike to work, hence the 1 car. That one car has been new twice in a row now, and I'll probably never go back to used. It's always a small ~$16-18k new car. The dealer literally pays me to finance. 0.9% rate over 5 years = a $1000 incentive. The loan cost about $400-500 total over the term. I'd pay cash otherwise. 5 year full warranty. I now have a well known, fixed cost over those 5 years. Repairs are handled by the dealer on the manufacture's dime. End of 5 years, sell and repeat. At this price point, the depreciation hit is relatively small, the repairs are non-existent, and I have zero concern that the car will work when I walk out to the driveway. I never have to worry about what a previous owner did or didn't do. I don't even have to spend much time worrying about "finding a deal," since the price variation for a new compact car is tiny, with dealers all within $500 of each other. It also makes my wife more happy. Not that she cares about fancy new cars. We're getting base model compacts. She just never worries about the thing, and I spend maybe one month every 5 years even thinking about cars.
All of that said, I have a high salary, otherwise live frugally, and we have a decent size stash with zero non-mortgage debt (well, except for that car loan). I'm probably paying a luxury tax on that piece of mind and freedom from thinking car thoughts. I'm happy to pay it and I can afford it.