>>1205812Your city may have multiple used PC stores. Go there and get a feel for the used PC vs CPU prices. There's plenty of websites with advice on building a PC and one nice one that walks you through parts selection.
Some youtube channels like Gamers Nexus don't like most prebuilt PCs. It's quite understandable as many have customized interiors that might not allow you to swap parts or graphics cards in the future.
You can attempt to collect the parts together for a custom PC at the PCBUILDER website and it will do a check for compatibility of components as you keep on selecting more and more. The parts are linked to sellers such as Amazon so that you get a real-life price to look at as you pick and UN-pick components based upon price. It's an exercise worth doing.
https://pcbuilder.net/