Buying a bike: Older, used high-quality components or new average-quality components?
Trying to remain general - and assuming both bikes are a good fit for you, I'd base the decision on Warranty.

The older bike is a decade out of date and will have a decade of use on it... but that could be anything from 0 km up to 50,000 km of travel.  So it should be in the "couple of hundred dollars" range at most.

The new bike will have a store warranty.  If you feel you will need that support, then a new bike is a reasonable idea.  But the new bike will cost you five to ten times as much as the used bike.