I want to delete everything and restore my MacBook Pro to factory settings. I followed these steps https://www.pcmag.com/how-to/how-to-factory-reset-a-mac deleted disk, and after that tried to reinstall macOS, but I keep getting an error: "an error occurred while preparing the installation. try running this application again"
I tried to fix the issue by setting the correct date in the terminal, but that doesn't help. I tried to revert everything in disk utilities, but I also can't do that. This is how my Disk Utility looks like
Can someone help me how to reboot mac to factory setting or at least to revert everything back? Thanks.