I suggest you learn about self conversation audits:

We all have a constant and ever present self conversation running in our heads. There is the issue with some people, their self conversation can become biased. That bias is reflected as exaggerating negatives, minimizing positives, and in general the downward spiraling a person's ability to both enjoy life and to see reality without bias. Often this is called "burnout". It's a subtle gentle progression that can require years, and due to his one might think it would also take years to dig oneself back out. Not so with this form of self deception...

Dr. Aaron Beck and Dr. David Burns introduced the concept of “cognitive distortions” - they identified various methods humans use to lie and deceive themselves in their self conversations.

Dr. Burns publishing of a book titled “Feeling Good” that kick started the entire Cognitive Therapy movement, which is the idea that one can talk themselves out of unhappiness with the right guidance.

It is all about learning how to identify self deception; once one learns how to be truthful in your own self conversation, the emotions and unrealistic expectations fall away leaving a more stable and logical individual.

Here’s a summary, but be careful searching this topic online as the “fraudster community” loves to prey on people seeking self help information. The essential mechanism is that deception, any deception, including self deception, requires itself to be hidden to work. If deception is known, it does not deceive. Dr. Aaron Beck and Dr. David Burns give us a checklist one can ask themselves simple questions that if the answer to any is "yes" then you've identified self deception and "poof" that specific deception no longer works. It's kind of freaky and amazing, how it really does work. Deception, including self deception is easily defeated by identifying it. Here's the forms of self deception:

Filtering. We take the negative details and magnify them while filtering out all positive aspects of a situation. For instance, a person may pick out a single, unpleasant detail and dwell on it exclusively so that their vision of reality becomes darkened or distorted.

Polarized Thinking (or “Black and White” Thinking). In polarized thinking, things are either “black-or-white.” We have to be perfect or we’re a failure — there is no middle ground. You place people or situations in “either/or” categories, with no shades of gray or allowing for the complexity of most people and situations. If your performance falls short of perfect, you see yourself as a total failure.

Overgeneralization. In this cognitive distortion, we come to a general conclusion based on a single incident or a single piece of evidence. If something bad happens only once, we expect it to happen over and over again. A person may see a single, unpleasant event as part of a never-ending pattern of defeat.

Jumping to Conclusions. Without individuals saying so, we know what they are feeling and why they act the way they do. In particular, we are able to determine how people are feeling toward us. For example, a person may conclude that someone is reacting negatively toward them but doesn’t actually bother to find out if they are correct. Another example is a person may anticipate that things will turn out badly, and will feel convinced that their prediction is already an established fact.

Catastrophizing. We expect disaster to strike, no matter what. This is also referred to as “magnifying or minimizing.” We hear about a problem and use what if questions (e.g., “What if tragedy strikes?” “What if it happens to me?”). For example, a person might exaggerate the importance of insignificant events (such as their mistake, or someone else’s achievement). Or they may inappropriately shrink the magnitude of significant events until they appear tiny (for example, a person’s own desirable qualities or someone else’s imperfections).

Personalization. Personalization is a distortion where a person believes that everything others do or say is some kind of direct, personal reaction to the person. We also compare ourselves to others trying to determine who is smarter, better looking, etc. A person engaging in personalization may also see themselves as the cause of some unhealthy external event that they were not responsible for. For example, “We were late to the dinner party and caused the hostess to overcook the meal. If I had only pushed my husband to leave on time, this wouldn’t have happened.”

Control Fallacies. If we feel externally controlled, we see ourselves as helpless a victim of fate. For example, “I can’t help it if the quality of the work is poor, my boss demanded I work overtime on it.” The fallacy of internal control has us assuming responsibility for the pain and happiness of everyone around us. For example, “Why aren’t you happy? Is it because of something I did?”

Fallacy of Fairness. We feel resentful because we think we know what is fair, but other people won’t agree with us. As our parents tell us when we’re growing up and something doesn’t go our way, “Life isn’t always fair.” People who go through life applying a measuring ruler against every situation judging its “fairness” will often feel badly and negative because of it. Because life isn’t “fair” — things will not always work out in your favor, even when you think they should.

Blaming. We hold other people responsible for our pain, or take the other track and blame ourselves for every problem. For example, “Stop making me feel bad about myself!” Nobody can “make” us feel any particular way — only we have control over our own emotions and emotional reactions.

Shoulds. We have a list of ironclad rules about how others and we should behave. People who break the rules make us angry, and we feel guilty when we violate these rules. A person may often believe they are trying to motivate themselves with shoulds and shouldn’ts, as if they have to be punished before they can do anything. For example, “I really should exercise. I shouldn’t be so lazy.” Musts and oughts are also offenders. The emotional consequence is guilt. When a person directs should statementstoward others, they often feel anger, frustration and resentment.

Emotional Reasoning. We believe that what we feel must be true automatically. If we feel stupid and boring, then we must be stupid and boring. You assume that your unhealthy emotions reflect he way things really are — “I feel it, therefore it must be true.”

Fallacy of Change. We expect that other people will change to suit us if we just pressure or cajole them enough. We need to change people because our hopes for happiness seem to depend entirely on them.

Global Labeling. We generalize one or two qualities into a negative global judgment. These are extreme forms of generalizing, and are also referred to as “labeling” and “mislabeling.” Instead of describing an error in context of a specific situation, a person will attach an unhealthy label to themselves. For example, they may say, “I’m a loser” in a situation where they failed at a specific task. When someone else’s behavior rubs a person the wrong way, they may attach an unhealthy label to him, such as “He’s a real jerk.” Mislabeling involves describing an event with language that is highly colored and emotionally loaded. For example, instead of saying someone drops her children off at daycare every day, a person who is mislabeling might say that “she abandons her children to strangers.”

Always Being Right. We are continually on trial to prove that our opinions and actions are correct. Being wrong is unthinkable and we will go to any length to demonstrate our rightness. For example, “I don’t care how badly arguing with me makes you feel, I’m going to win this argument no matter what because I’m right.” Being right often is more important than the feelings of others around a person who engages in this cognitive distortion, even loved ones.

Heaven’s Reward Fallacy. We expect our sacrifice and self-denial to pay off, as if someone is keeping score. We feel bitter when the reward doesn’t come.

References:

Beck, A. T. (1976). Cognitive therapies and emotional disorders. New York: New American Library. Burns, D. D. (2012).

Feeling good: The new mood therapy. New York: New American Library. Leahy, R.L. (2017).

Cognitive Therapy Techniques, Second Edition: A Practitioner’s Guide. New York: Guilford Press. McKay, M. & Fanning, P. (2016).

Self-Esteem: A Proven Program of Cognitive Techniques for Assessing, Improving, and Maintaining Your Self-Esteem. New York: New Harbinger Publications.