This will get you medium/high graphics, due to onboard video and weaker processor. If you want to run at best graphics, you'll want a dedicated video card, and a better processor.
If you're an AMD fan, you might go with something like:
Processor: FX 8000 series, or Ryzen series.
Memory: 8 - 16 GB
Video: RX 480 or better
Video: GTX 1050Ti or better
Here's an example of what I'm talking about
BUYPOWER Gaming Computer Desktop PC AM006A = Price: $879.99
AMD FX-8320 8-Core 3.5Ghz (4.0Ghz),
NVIDIA Geforce GTX 1050 Ti 4GB,
16GB DDR3 RAM,
2TB 7200RPM HDD
https://www.amazon.com/iBUYPOWER-AM006A-GTX-1050-Ti/dp/B06X1H3QK7Buying vs building a pc, it depends on what you want in your machine and if you've got the skill to put it together yourself, or can find someone to build it for you.
We've found it's about the same, specially if you're trying to stick within a budget. For example, when we build our last desktop, it cost in total of $750. We later found a pre-built for $700.
We have a buying guide post linked below:
Buying a Computer For The Sims 3 & The Sims 4
http://www.carls-sims-4-guide.com/forum/index.php?PHPSESSID=6ilgq9lmmubsrjkpvbkaq7veg2&topic=21609.0