Above is correct, if you’re on SSD.
SSD storage does not work even remotely similarly to how HDD storage works, in terms of overwriting.
rm -P
…will overwrite files on HDD. SSDs do not support sector overwrite, and erase each sector as the file is deleted or the storage otherwise released.
Here’s an older thread which explains more of what happened, and why: secure empty trash in Mojave - Apple Community
I didn’t see a man page for srm on Big Sur, but didn’t poke further than that.
And if you’re concerned about security, all of your volumes should be encrypted. That might well include creating and using an encrypted virtual volume (sparse bundle image) that you’ve created for whatever you’re working on here.