I don’t see the difference in safety between ghosting and sending a text saying “This isn’t going to work out, you’re just not the one for me”
You have obviously never dealt with a dangerous man. Rejection like this (as opposed to ghosting, which just confuses them) angers them. Angering them means they will do some crazy shit up to and including stalking and violence.
It's shocking, yes, but it's true. Ghosting is safer because their anger is subdued because it takes them a little while to figure out they've been rejected, and when they do, it somehow stings them less than a direct rejection which makes them lash out angrily.