Demi Lovato Talks Finding 'Hope' After 5 In-Patient Mental Health Treatments: 'I Felt Defeated'

"I think the glimmer of hope was when I started putting in the work," Lovato said at the Center For Youth Mental Health’s annual benefit

<p>Dimitrios Kambouris/Getty</p> Demi Lovato at the 2024 Met Gala

Dimitrios Kambouris/Getty

Demi Lovato at the 2024 Met Gala

Demi Lovato found the "light" again after starting to work on herself.

The 31-year-old singer got candid about how her relationship with herself has evolved after five in-patient mental health treatments during a discussion with Dr. Charlie Shaffer, Anna Wintour's son, on Monday night at The Center For Youth Mental Health at NewYork-Presbyterian's annual benefit.

"I have been to inpatient treatment five times, and it has something that every single time I walked back into a treatment center, I felt defeated," the actress said at the event hosted by Wintour, Tory Burch, Dr. Steven J. Corwin and Dr. Zandy Forbes.

"And I know that experience firsthand, but I think the glimmer of hope was when I started putting in the work and I started to, whether it was work, a program, or talk to my treatment team and build relationships there."

<p>MICHAEL TRAN/AFP via Getty</p> Demi Lovato at the 2023 Baby2Baby Gala in Los Angeles, California, on November 11, 2023

MICHAEL TRAN/AFP via Getty

Demi Lovato at the 2023 Baby2Baby Gala in Los Angeles, California, on November 11, 2023

Related: Demi Lovato Reveals the One Thing She'd Tell Her Teenage Self About Beauty (and It's Advice We All Need)

"I think the glimmer of hope started to change when I started to find joy and the little things in life. And that was something that was so foreign to me before because I was so used to, so used to not seeing hope," she continued.

Lovato said that things "definitely felt different" after her fifth in-patient mental health treatment.

"It felt like I had hit rock bottom and I just knew what I needed to do, which was to live a life in recovery. And that was something that I pushed off for so long," she shared.

<p>Araya Doheny/Getty Images for Vanity Fair</p> Demi Lovato at Vanity Fair Oscars after party in March 2024

Araya Doheny/Getty Images for Vanity Fair

Demi Lovato at Vanity Fair Oscars after party in March 2024

Related: Demi Lovato Encourages Teens to Share Their Mental Health Struggles: 'Asking for Help Is More Than OK'

"I also needed the right medication. I think for me medication has helped me tremendously. It's helped so many people tremendously," continued Lovato. "And I think I had hit another low, and I was like, 'what am I doing wrong?' I felt defeated. But then, when all of the key parts started to fit into place like a perfect puzzle, I started to find the light again."

Lovato said that getting treatment has allowed her to learn that her mental health is not her "identity."

"It wasn't until I went into treatment for the first time that I realized this isn't who I am. It's just a part of what makes me me, meaning my struggles have shaped me into the pottery that you see today, but it's never become my identity since then. It's just become something about me that makes me a little interesting, I guess you could say," she said, noting that she's "grateful for the things that I've been through and what I've overcome."

<p>Erik Pendzich/Shutterstock</p> Demi Lovato at the American Heart Association's Go Red for Women Red Dress Collection Concert in January 2024

Erik Pendzich/Shutterstock

Demi Lovato at the American Heart Association's Go Red for Women Red Dress Collection Concert in January 2024

Never miss a story — sign up for PEOPLE's free daily newsletter to stay up-to-date on the best of what PEOPLE has to offer​​, from celebrity news to compelling human interest stories.

If you or someone you know needs mental health help, text "STRENGTH" to the Crisis Text Line at 741-741 to be connected to a certified crisis counselor.

For more People news, make sure to sign up for our newsletter!

Read the original article on People.