Guilt simply says that you are a sinner. And the feeling of shame simply shows you that you need not be a sinner, that you are meant to be a saint. If you are a sinner it is only because of your unconsciousness; you are not a sinner because the society follows a certain morality and you are not following it.
