Shaming is a deliberate violation of human value, and is lashon hara (defamation).
The goal of shaming is to do harm using verbal violence.
There are instances where shaming aims to solve a problem or prevent harm to society.
For example, one might say shameful things about one person in order to protect or warn another person
Is it ever ok to shame someone in order to solve a problem or to prevent harm?
.