When I got wife's 2019 Prius new I looked at the depreciation curve for an extraordinarily common, commodity-style vehicle and found it flat. There weren't any "good spots" where the "savvy buyer" could get better-than-average value. Well, there were two: total junkers and brand new. We figured we were some of the best people to buy well maintained used cars from. So we decided to buy new so we'd inherit our own well-maintained used car when we paid it off.
An advantage to 15 year old vehicles, hinted at but not really mentioned, is how the parts get re-engineered to solve problems, cheaper aftermarket options are available, and mechanics (and youtube) know how to work on the common problems. The correct well-aged car can be more reliable because we know the warning signs of troubled systems and can address them when convenient. Some brand new wonder-car can be in the shop for days, running up bills, while it's "patient zero" for some new crazy failure.