The answer is "it depends".
You're looking at a Jetta. I've been considering one for about 2 years now. I tend to test drive, research, think, test drive more. After 5 years I get up one morning and go buy something. Since I've watched VW, I can give you some insite. VW has for the last 6 months been alternating between "no incentive" and "$5200 incentive". So while I'm looking at a base model 1.4T S manual car, I know I can wait for the incentive, do zero negotiation and drive out with a brand new one for $14k. If instead I want to negotiate, I've seen dealers advertise at $13k. Check dealer web pages for the car. You might have to check 10 different dealers because lots of them like to hide the incentives and prices and rip you off and put $5k in their pocket.
Ok, on to other models that hold their value.....
Subaru. Buy new with Impreza, WRX, STi and probably Crosstrek. Legacy's are the dealer loaner car and you can get serious reductions on a one year old one.
Honda Civics hold their value for 3 years. Don't even bother looking at a Civic unless you're at 5 years or more. Accord.....not so much....especially with the CVT that everyone hates. Find a manual used Accord and you're golden.
Wranglers.....yah, I know that that's a swear for MMM but I have one and it's pretty hard to mount my snowplow on a Civic. I ordered mine brand new. Why? Because a 2 year old used one was MORE money than what I paid new. I am sure about this. I did all the tricks. Looked all over for used....including craigslist, car gurus, auto trader. If you want a Wrangler, either buy new or go 10 years old.
There are Toyotas that have the same thing going and at least locally, Camrys go on huge sale once a year. Like, if you buy new and keep tabs on prices....like $10k under MSRP sale. They'll be the sea of leftovers when trucks of new year are coming in the lot. 4 runners, old tacos, old land cruisers.....yah, might as well be Lamborghinis....
Where you CAN do well. 1 year old Focus. First, the standard warning....the dual clutch automatics break in so many ways due to engineering defects that I don't even understand why they still sell the things. It's cool that they have the type of transmissions that Porsche, Ferrari, Lamborghini, BMW, Audi all use to make their autos faster 0-60 than their manuals.....but it doesn't work in a Focus and when they overheat (they will) or slip (they will) or get scared, the computer says "shut down". Why all these words? Because the manual is awesome! But everyone looks at Consumer Reports and it has a fold out poster that says "this is the worst car we've ever seen in the history of the world" so the value is in the toilet. Find something with 6k miles on it that MSRP'd for $24k and expect to pay $14k. But ONLY buy a manual Focus.
If you're looking at some other car, do your homework and figure out if the value stays up. If it doesn't, find out why. There are lots of transmission problem cars now. Subarus have not seemed to fail in numbers like Focus, but the CVT is known to die (ours did in a Crosstrek with 50k miles recently). So again, if you want it to last, get a manual.