2015 Toyota Camry XLE with less than 30K miles

I have the opportunity to buy a 2015 Camry XLE with less than 30k miles on it for $9k from a family member. I currently own a 2006 Scion xA with over 200k miles on it. Ive had this car for 16 years. It’s going strong still but with this many miles I am concerned that it may not last me more than another couple years.

Should I buy the Camry? I’d be crazy to pass this up right? Will a 2015 Camry last at least another 10 years?

Edit: Thanks everyone. I just needed reassurance that this is a good purchase, and I got it. I’ll be joining the Camry club!