Many SSDs have about a minimum of 150TB or more of writes (many with 300TB), but many things factor into what each SSD is cable, including type of NAND and size of the SSD and how full the SSD becomes, etc. Unfortunately Apple does not advertise the endurance of their SSDs. There is nothing you can do about it now. It probably did not hurt it too much if just a single pass was made.
FYI, a simple erase of the "Volume Group" using Disk Utility is enough to destroy all user data on the SSD due to how SSDs operate. You don't want to erase the entire physical SSD of an Apple Silicon Mac, since the internal SSD has some required software necessary to allow the Apple Silicon Mac to boot even into its special startup mode. Here are the instructions on how to erase the SSD on an Apple Silicon Mac:
Use Disk Utility to erase a Mac with Apple silicon - Apple Support
If the entire physical SSD is erased, then you will need access to another Mac running macOS 10.15+ in order to "Restore" the firmware which also pushes a clean OS onto the internal SSD:
Revive or restore a Mac with Apple silicon using Apple Configurator - Apple Support