My oldest bike is at 16 years and 40,000+ miles. Most of the components have been replaced at least once, some have been replaced multiple times. As long as you’re willing to replace worn bits and pieces, a bike does not really “wear out” until and unless the frame fails. And I do not share some people’s concerns about carbon fiber “wearing out.“ Very forceful impacts may cause problems, but normal riding will not.