We all once felt ashamed of our actions or actions. Society and morality qualifies your actions and actions in different ways. Let's see what wine is.
Obviously, there is not a single religious system that does not include the concept of "sin": even the most primitive, primitive beliefs are distinguished by numerous prohibitions, "taboos" that cannot be explained rationally. A taboo is violated, a sin is committed - and a person becomes an outcast until he admits his wrongdoing and cleansing ritual actions are performed on him.
Indeed, perhaps, there is no normal person who could talk about any of his actions without shame; it turns out that each person, to one degree or another, has a sense of guilt. Here you can see that a person experiences shame precisely when others find out about his unseemly behavior; guilt is a deeper, personal experience.
As a rule, the concept of a sense of guilt in everyday consciousness has a negative connotation: it is a bad, self-destructive feeling that must be got rid of. But is it? After all, guilt arises in connection with such a person's action, which he himself considers bad, not corresponding to his own system of values. What will keep a person from harming another, from violence, from theft, if not the danger of feeling guilty after that? Not shame for what was done (perhaps no one will find out about it), not fear of punishment (statistics say that toughening punishments does not reduce the level of crime), but personal responsibility to oneself, the execution of oneself, and the role of the executioner is played by a sense of guilt, - this is the restraining principle that regulates human behavior in relation to others.