By themselves laws and sanctions do nothing to improve a person's soul (i.e inner self). You can threaten a person with serious punishment for offences, you can threaten them with loss of public reputation (as #metoo is doing). But neither of these things will necessarily change a person's desires. And the trouble with this is, that as soon as the person feels they 'can get away' with a behaviour without the risk of punishments or sanctions, then the behaviour will re-emerge, or perhaps, if the person is evil enough, they will contrive to create circumstances whereby they can get away with it.
This ineffectiveness of laws, is why God gave only ten commandments and not the thousands of laws that men have made since. Also, the commandments are not ' you must' but ' you shall' - i.e it was intended that each person should hold themselves accountable to the laws, not some external authority.
So if we really want to improve human society and human behaviour, we need to work on the spiritual development of children, and foster this development as they grow. Correction once they are adults is far harder, and yes, punishments might be all that can be done. But note, such punishments are in many cases unlikely to help the person improve (although they may help some). But the best improvements will come when a person decides to improve their own heart. Campaigns like #metoo are unlikely to have any effect in these cases (in terms of improving possible offenders). Rather a call to love would be better, or - in the worst cases - punishments which are severe enough to make offenders at least think they might want to avoid those - and self-improvement is one path of avoidance.