It’s generally considered that a car with less mileage will last longer. This depends on how well-maintained the engine has been in its lifetime.
It’s possible that a vehicle’s engine can do well over 200,000 miles in its lifetime, depending on the level of care and maintenance/servicing it has gone through. Therefore, a hefty price tag for a car that has already done 150,000 miles may not tell the whole story. Always enquire about the service history a vehicle has gone through before purchasing. This may tell you a better story than the mileage itself.
That said, it’s probably a safe bet that, if you intend to make mostly short journeys in the vehicle, a higher mileage vehicle may be suitable, providing it has been well maintained. If you need to cover long distances however, then you definitely need to consider a lower mileage vehicle.