Hi, Jolie:
See if making a bootable USB recovery drive with the HP cloud recovery tool works for you.
Below is an info link for how to use that utility...
HP Consumer PCs - Using the HP Cloud Recovery Tool (Windows 10, 7) | HP® Customer Support
Before making the recovery media, boot up the PC, tap the ESC key to get the menu of options.
Select the F2 diagnostics option and test the hard drive to make sure it is OK.
It is possible the hard drive is defective, which is preventing W10 from reinstalling.