A new car should last from 200,000 to 400,000 miles as long as you take really good care of the vehicle.
It would take around 10 to 20 years to rack up 400,000 miles on the car depending on how often you drive the car and how far you drive the car each time.
I had a Honda car that lasted 400,000 miles that I had bough used and when I bought it had 200,000 miles on it.
It was still running and driving but I sold it to someone else and I wanted a vehicle with less miles especially for driving long distances.