Shame is closely related to guilt, but there is a key qualitative difference. No audience is needed for feelings of guilt, no one else need know, for the guilty person is his own judge. Not so for shame. The humiliation of shame requires disapproval or ridicule by others. If no one ever learns of a misdeed there will be no shame, but there still might be guilt. Of course, there may be both. The distinction between shame and guilt is very important, since these two emotions may tear a person in opposite directions. The wish to relieve guilt may motivate a confession, but the wish to avoid the humiliation of shame may prevent it.
– Paul Ekman