When used, rather pay attention to KM or rather to age?

Hello, need a few opinions. Unfortunately, my Passat B6 variant was destroyed by a motor fire. Now, of course, I am looking for a new, budget is unfortunately limited. I have certain ideas about what it should be, but now my real question: I would have to decide between two vehicles now, both are relatively identical in terms of equipment. Vehicle type is the same. The one is however three years younger, but 80,000km further. What does the big opinion say here? Rather the older vehicle with less mileage, or rather the younger vehicle that has seen many long distances? Both are diesel. I have heard for both Pro ́s and Contra ́s….. but would like to ask the swarm intelligence. Best with arguments.