I was in the same situation a few months ago and decided on a used Dell OptiPlex 7050 SFF. It was the best decision ever. The system runs 24/7 as my homelab.
I purchased it in excellent condition from oldlappy. It has a 6th generation Core i5 processor, 16GB of RAM, and a 500GB HDD.
I paid...