Condition is everything. Age is just a number.
Older bike with higher spec components vs. brand new bike that's down a tier in the specs? Doesn't make much difference, assuming the older one is in perfect condition. Between these two, I'd choose the one with the color I prefer.
If there is some minor wear on the older bike, it's still a pretty close comparison, with the scales starting to tip in favor of the new bike.
If there is significant wear or damage, pass it up in favor of the new one. You don't want to deal with someone else's worn out stuff just so you can get a higher level of components; you want to wear it out yourself.