They’re unlikely to do worse than my laptop from 2008, and it’s perfectly usable under Linux (bit of a lag when starting up large programs, that’s all). As has already been said, go for a lighter desktop environment (XFCE, LXQT, Mate, TDE) unless these machines were high-spec’d for their era. For the oldest machines, you might want to consider installing Puppy Linux rather than one of the more mainstream distributions, since Puppy specializes in old x86-family hardware.
Ships with Gentoo by default, since you actually need a nongraphical editor there and nano is easier to learn than vi or emacs.