The former Pussycat Dolls star became fixated on her weight at the beginning of her career and developed the eating disorder as she struggled to adjust to life in the spotlight.
Now the 'Don't Cha' hitmaker said that it was the Formula One racing driver who helped her appreciate her body and her looks, reported Us magazine.
"(Hamilton) gave me the courage to kind of end that disorder and that disease. He made me feel beautiful for who I am and not what pant size I'm wearing and that helped a lot," Scherzinger said.
"A little light came on in the back of my head and that's when I started to try and turn this around. I said, 'Wow, I've got to learn how to accept myself and my body.' I started to embrace myself as a woman and my curves. We are both passionate. Together we've created a great bond," she added.