Hang on to it if it still works, and you've got a power supply. There's going to be disruptions to global trade one way or the other (Trump does insane things, OR Xi invades Taiwan) that will completely mess up the availability of CPUs, and indeed, most electronics. You may be able to sell it for a profit, or be in the top percent of computer owners in 3 years.
BTW It's a 2019 Dell Inspiron with ~2.8 GHz processor speed and 24 GB memory. It's pretty slow by today's standards. Does your recommendation still hold?
That's a very capable machine. It doesn't really matter if it's slow by today's standards. It's fine, particularly if it's not running Windows. I recently bought a couple of machines that were older and less capable than that, but were plenty good enough for what I wanted them for.
Just because a machine isn't up to the latest specs doesn't mean it's not good, or that there isn't a market for it.