Macbook m2 2023 bricked during clean install
I am a new Mac user, purchased m2 2023 15 inch base model 8/256 of MacBook Air few months ago. few days ago I encountered an issue as I was trying to make clean install of Mac OS Ventura using a bootable installer from a pen drive. I successfully booted from pen drive and while I was using disk utility from Mac OS recovery window, I erased the drive 'mackintosh Hd' . immediately after that a window appeared to activate the Mac with restart option. the laptop restarted and continued to boot loop for three to four times and then stayed with a black screen with an exclamation mark in a circle. I contacted the customer care and they guided me to press and hold the power button to load recovery options. but the laptop would only power on and stay in the black screen with a circle and an exclamation ark inside. lately I realised that I had bricked the laptop need to revive it via dfu mode from another Mac. I have done it and my laptop is ok now. but I want to know should I not completely erase Mac ssd or erasing the MacBook with m2 chip will always brick the device or clean install from bootable installer is not for m2 Macs or did I make any mistake? my laptop was then 85 % charged and attached to power adapter. so apple says power interruption might be the issue but that was not the case with me. I fear if I make another attempt to cleans Install Mac OS , I may again brick the laptop. pls provide me guidance in this regard.