By Sandra Rose  | 

Robin L. Marshall/Getty Images

Snoop Dogg's daughter, Cori Broadus, opened up about having suicidal thoughts in a post on Instagram over the weekend.

Cori, 21, shared a series of photos that show her having a romantic seaside picnic with a friend.

In the post caption, Cori explained that she nearly took her own life in the last few weeks. She said her family and social media followers gave her "a purpose to live & helped me realize Iife is much more than materialistic things..."

"The last few weeks my mental has not been so great at one point I tried to end my life but you & my family really give me a purpose to live & helped me realize Iife is much more than materialistic things & you gotta just keep pushing through the bullshit. THANK YOU... #mentalhealthawareness."

Although Cori changed her mind about ending her life, she is not out of the woods yet.

Mental health experts say most people who have suicidal thoughts do not go on to attempt suicide. But suicidal ideations are a risk factor for suicide.

Expressing suicidal thoughts publicly means they may already be in the planning stage, and intervention is necessary.

Axelle/Bauer-Griffin/FilmMagic

Cori, 2nd from left, is pictured with her father Snoop Dogg, her mom Shante Broadus, right, and brother Cordell Broadus, left, at the ceremony honoring Snoop Dogg with a star on the Hollywood Walk of Fame on November 19, 2018 in Hollywood, California.

Cori followed in her father's footsteps by recording a single titled "Do My Thang" in 2011. Snoop was featured on her single "Daddy's Girl" and she and rapper Drake were both featured on Snoop's No Guns Allowed album.

If you are struggling with suicidal thoughts, call the National Suicide Prevention Lifeline at 1-800-273-8255. A trained crisis worker is available 24/7.