How secure are old computers/laptops? - eviltoast

As we know, buying an older phone can be a big security risk, as it might not get updates anymore. How about laptops? i would install Linux on the laptop. Is it a security risk to buy a used and refurbished computer from maybe 2019?