Not sure why someone downvoted. I think this is a great question.
The computer would normally be overpriced, but because of the silicon shortages, in 2021 it's actually a pretty good deal. The only issue I have with it is being built by an OEM. Typically if it's built by an OEM (such as Dell, HP, Lenovo, Acer, etc.), the parts are more proprietary so you won't be able to upgrade them like you could on a computer that is custom-built. If you could spend a couple of hundred extra dollars, I would highly recommend either building a computer yourself, or ordering a custom-built machine from a large company (such as iBuyPower, CyberPowerPC, or Origin).
Some videos to check out before making a final decision:
Make sure you watch all four videos in the series on the above one. It has really good information about buying prebuilt gaming PCs from a variety of manufacturers (including HP).
This video has more information about HP specifically.