Your Ego is very specific about what it considers beautiful. When you don’t feel that you meet up to those preferences, it’s easy to become insecure and develop feelings of inadequacy.
Ego wants you to accept yourself and so it tries to teach you that just as you find faults within yourself, you can find things in your favor.
If you find yourself attractive, you can be labeled as egotistical. If you look down on yourself, you can then be seen as insecure. When you accept yourself, then you can feel and be seen as confident.