In the book Changing for Good, researchers James Prochaska, John Norcross, and Carlo DiClemente, talk about a "decisional balance scale".
What they mean by this term is the relationship between the positive and negative aspects of changing a problem behavior like overeating.
These psychologists caution that to concentrate only on the negative aspects of a problem - how it works against you - will not be helpful. You need to acknowledge the benefits to you of having this problem, because the benefits are what keep the problem firmly in place.
So, you need to weigh the pro's and cons of eating the way you do, and/or being heavier than your ideal weight. Then, if the pro's seem more powerful than the cons, even if you really want to lose weight, you might not be able to.
Once you have acknowledged the benefits to you of doing what you're doing, you can begin to think about how you can derive the same benefits in other ways. You can begin to substitute alternative, healthier (for mind and body) ways of getting what you need. Then the process of losing weight becomes a whole lot easier.