I've often maintained the cars in our family beyond 150,000 miles. Here are a few points that may help:
1. DO NOT neglect your car.
2. Follow routine maintenance without fail.
3. Make repairs as soon as faults are discovered.
4. Try to head off any repairs before they become a problem (leaks, belts, hoses, exhaust, etc.)
5. Make each repair as though you'll keep the car forever.
There's not much else you could do. A lot of it is simply luck of the draw.
Living in the snow belt I've gotten into the habit of rustproofing any car that sees salt. Though they say cars are much more rust resistant than in the past, old habits die hard and I keep on rustproofing my winter cars.
Once your car loses its appeal to you, all bets are off and you should get rid of it and buy a car you'll be proud of.
95 E320 Cabriolet, 131K