Confidence

I've had confidence issues my whole life. I've starved myself (not anymore, but used to) and bullied myself for years and I wish I could accept myself and be comfortable in my own skin. My friends tell me I'm pretty and one of them even described me as "confident" and I cannot explain how much I wish that were true. Sometimes I feel like they only say it because they feel bad for me. I feel like one of the big reasons I can't accept myself is because I have a memory from a long time ago of my father telling me to, "look in the mirror because I'm not perfect." My purpose of posting this is because I wanted to know if any of you have ever felt this way and know how to learn to accept yourself. How do you do it? I swear, it almost seems impossible