In essence the defense mechanisms are

Ways of convincing others of ones rightness

Conscious self-deception

Escape reactions

Defense against anxiety