This is a good, balanced build for $500. It says that the bios may need to be updated on the Mobo to use the Kaby Lake pentium. That may or may not need to be done depending on if the manufacturer updates it for you prior to shipment, if not its not hard to update yourself.
On a side note the build i posted includes the price of the operating system so technically the build is only $400 dollars. If you have a copy of windows lying around or plan to use say linux, feel free to put that extra money towards a higher end GPU.
Here is an improved $500 budget build if you have a copy of windows lying around or can use linux. It includes a better power supply and motherboard as well as an optical drive and a more powerful GPU.