Some amount of societal shame, carefully applied, is essential for inculcating right behavior. In a truly Aristotelian sense, there are times where one ought to feel shame, in the right amount, in response to the right correction for your shameful behavior, and so on.