There is good shame and bad shame. If you murder someone, then you should rightly feel shame. If you are gay, then you should not feel shame. Shame can work both ways.
Anything can go both ways.
In the past you can go to jail for being gay (and still in some parts of the world).
Of course if someone commits premeditated murder, they are well beyond shame being an influence on their behavior anyway. There are much more forceful consequences like a prison sentence that they also ignored.
Religion? CNN? Fox News? The average person?