Hello. When you say recovery hd,do you mean you tried an internet recovery with the hard drive?
https://www.macworld.co.uk/how-to/mac/restore-mac-without-recovery-3636668/
this link has some info on restoring Mac OS via internet recovery.
Now sometimes a hard drive with physically go bad. If this is the case,you need a new hard drive and to reinstall a fresh copy of the os. If the hard drive is fully corrupted,you may need to use a bootable usb to reinstall the Mac OS.