It’s naive to think deleting solves the problem. Once you post something on the internet, it’s out there forever potentially. Someone could easily saved whatever you posted, even if it’s under NDA or it’s a NSFW pic.
This is technically true, but then why does any website bother with content moderation? It's one thing for something to be archived on a hard drive somewhere and another for it to be google-searchable.