Don't throw it away. Install windows 8, and the last offline version of office you can find. It makes for a great distraction free workstation and a monitor for your android (scrcpy).
Or, you can install and reinstall linux distros and learn the ropes.
You should be fine as long as you use a proper firewall device and access only manually withelisted websites, but it is always better to keep it offline. That said, it can become your next firewall device.