Churches might serve this purpose, but those are out of fashion now.
There are lots of behaviors that are not illegal and not against religion that we still use social feedback to minimize.
There are lots of behaviors that are not illegal and not against religion that we still use social feedback to minimize.