a variety of usually unconscious mental processes used to protect oneself from shame, anxiety, loss of self-esteem, conflict, or other unacceptable feelings or thoughts, and including behaviors such as repression, projection, denial, and rationalization.
(google)