OK, I'm going to offer a slightly different way to think about this. First question: what is the bare minimum that you could spend that would meet your transportation needs? It's probably on the order of a couple thousand dollars for another reasonably reliable old vehicle (or zero if your current vehicle is still functioning well enough and not draining the bank with repairs). Second question: how much does the vehicle you want cost? I'm guessing about $20-25K more. Third question: do you have an extra $20K or so to spend on luxuries (i.e., do you have all of your other financial ducks in a row, such as maxed-out 401(k), no CC debt, etc.)? Final question: are all of the luxuries that that additional $20K or so buys you -- the additional convenience, peace of mind, safety features, bright/shiny/pretty -- the highest and best use of that amount of money in your own personal circumstances, or do you have other priorities that are more important if you step back and look at the big picture?
We can argue all day about what is the best financial decision over the next 15 years. But all of that is based on projections and assumptions; now, there are better or worse assumptions, and of course you should do that analysis, but in the end, no one can guarantee that any particular choice will turn out to be the optimal one 15 years from now.* What you do know -- the thing you have actual control over -- is how much is coming out of your pocket right now, today. And you also have the ability to assess how spending that money on a car will affect your other financial priorities. So I like to approach these kinds of purchasing decisions with a baseline of "lowest-price that meets my needs," and look at everything beyond that as a luxury to which I am treating myself.**
Note: luxury gets a bad name here. I am a huge fan of luxury; my life is filled with it. The problem is that most people are very, very good at convincing themselves that luxuries are actually needs, which then of course makes spending giant wads of cash on something seem entirely rational and appropriate. I think recalibrating your brain to redefine "need" as the minimum possible thing that will work for you helps you evaluate more accurately whether the added luxuries you get from spending the extra money are really worth it to you, as compared to everything else you could be doing with that money. And the answer may well be yes for you! But don't put your thumb on the scale by comparing a new car against a car that's a year or two old; really look at things from the ground up, and think about what you're giving up if you use that money here.
*Examples: I have always viewed myself as a "buy lightly-used, drive until they're dead" person." And yet I haven't managed to do that once in my car-owning life (well, except for my first hand-me-down beater -- but that one died within 2 years). The first one I was stupid and let myself get entranced with the bright-shiny of a new car after about 8 years. The second one, well, I was stupid and bought a cute, sporty 2-door, and then a few years later we moved to the top of a hill and had a kid and the sporty car couldn't make it up our hill in the winter. The next one was an absolutely horrible BMW that blew up at 8 years old. The next one I was determined to drive forever and hand down to my DD -- but by the time she was driving 8 years later, the carmakers had developed active crash avoidance features and put them in affordable vehicles, so after a year we ended up trading it in on an almost-new car. Now, YMMV, of course; you are probably a far more rational person than I am with much better self-control. The point is that the best of intentions cannot guarantee that you won't get a lemon, or that your life and priorities won't change a few years from now.
**Before everyone gets bent out of whack on the poor man/rich man boot analogy: I am not actually advocating buying the cheapest possible thing that's going to fall apart and cost you tons in repairs. By all means, consider the longer-term cost projections when you are in a position to do so. All I am advocating is a mental exercise that begins with acknowledging that anything above the level of "beater" -- really, any vehicle at all -- is a luxury, and that the value of that luxury should be assessed against the other possible uses of that money. For me, not being stranded by the side of the road/being on a first-name basis with my mechanic is a very, very high-value luxury that outweighs most everything else. But it is a luxury (and one that I can afford and happily pay for).