Can't Install MacOS/OSX on my 2015 Macbook Air
I bought a 2015 Macbook Air from a friend a while back and I decided to do a completely fresh install on it. But when I try to install, the installation fails every time. I've tried it with Internet recovery, I've tried installing from a USB flash drive. Nothing works. And it's not just one OS. I've tried El Capitan, Yosemite, High Sierra, and Big Sur. I get the same thing on all of them. Every time I install, I erase the drive with Disk Utility before installing. I've even run First Aid and everything tells me that the SSD is in good working order. I've tried APFS format. I've tried Mac Extended Journaled. Neither one seems to make a difference. I have reset the PRAM/NVRAM. I went to the Terminal and verified that the date/time was correct. I cannot understand what's causing this to happen. Is there anything else I can do?
MacBook Air