An older car engine could go bad tomorrow with no warning or it could go another 100,000 miles. I've seen brand new ones die on the way home from a showroom. There's no way to tell for sure. Just check to see that it was well maintained, that it runs smoothly at idle, when accelerating, at speed on the highway, and keep your fingers crossed.