It kinda depends on what you want to do with it but it'd be better to get a a secondhand pc somewhere for office use with like an i5 or i7 from recent times and try to fit a small recent GPU in there. The specs you are giving will maybe run some very basic games at 1080p60 but will be completely obsolete in less than 2 years.
It might even be better bang for buck to get an Xbox Series S at this point, you can hook up keyboards and mice to it.
It kinda depends on what you want to do with it but it'd be better to get a a secondhand pc somewhere for office use with like an i5 or i7 from recent times and try to fit a small recent GPU in there. The specs you are giving will maybe run some very basic games at 1080p60 but will be completely obsolete in less than 2 years.
It might even be better bang for buck to get an Xbox Series S at this point, you can hook up keyboards and mice to it.