You can buy a used pc for cheap that works like new and will be faster then your current one.
I own this model and paid $135 in February 2023. Built in July 2018.
Mine came with a 1TB Samsung SSD instead of 500mb one as advertised. Not even a scratch. You can easily upgrade the RAM and hard drive and graphics card if needed.
Review: The cost was $3,265 back in 2018!!
https://www.pcmag.com/reviews/hp-z240-sff-workstation
HP Z240 Small Form Factor Workstation, Intel Quad Core i5-6500 up to 3.6GHz, 16G DDR4, 512G SSD, WiFi, BT 4.0, DVD, Windows 10 Pro 64 Bit-Multi-Language
https://www.amazon.com/gp/product/B085LMQQLC/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Now $119 !