For me provenance is the key.
I'd take a 150K car with a shed load of receipts and an owner who obviously knows and cares about every nut and bolt on the car over a 30K car with a "full dealer service history" - aka it's had a few oil changes, lots of "inspections" and diddly squat actually being done.
Conversely a high mileage without that sort of caring, loving history could easily be a money pit. And with newer car if you haven't go access to the diagnostics there's loads of stuff you can't check or do.
It's a bit of a minefield
.
Andy.