Life is different for every engine. Some years some manufacturers make good engines, other times they don't. Also, there are not too many non turbo diesels around.
I'm guessing you are thinking about repair costs, but engines alone are not the only issue. Suspension, gearboxes etc also start having issues with lots of miles and can cost lots to solve.