Assuming you performed the clean install as detailed in the link @PRP_53 provided, then you only have one option left (maybe two).
First, when in Recovery Mode.....select the Option icon , launch the Terminal app from the Utilities menu on the menu bar. Use the following command to reset the NVRAM (safe for M-series Macs):
nvram -c
Press the "Return" key after the "c" to submit & execute the command. You may see a notice that some items such as ComputerName could not be deleted/cleared.....this is Ok as long as the error is not regarding the "nvram" command itself. If successful, then restart the computer to see if it can boot normally. I doubt this will help, but it is simpler to do than the next suggestion.
You will need to try to perform a DFU Firmware Restore which resets the security enclave chip, system firmware, and internal SSD, as well as pushing a clean copy of macOS onto the internal SSD (the latter only occurs with M-series Macs). Unfortunately this process requires access to another working Mac......most likely running macOS 15.x Sequoia.
If even the DFU Firmware Restore does not work, then you most likely have a hardware issue of some sort which will need to be repaired.
Make sure to disconnect all external devices from the computer just in case one of them is causing a problem.