You really never know people's back stories.

Gisele Bundchen reveals in her new memoir Lessons: My Path to a Meaningful Life that she once considered taking her life she was so miserable.

"When I think back to a time in my early 20s, I remember that I felt so helpless that I questioned whether I wanted to live,” she wrote.

The supermodel had her first panic attack on a bumpy flight in 2003 and suffered them periodically for months afterwards, which is when the suicidal thoughts began.

"I had a wonderful position in my career, and I was very close to my family, and I always considered myself a positive person, so I was really beating myself up. Like, ‘Why should I be feeling this?’ I felt like I wasn’t allowed to feel bad. But I felt powerless. Your world becomes smaller and smaller, and you can’t breathe, which is the worst feeling I’ve ever had," she told People.

"I actually had the feeling of, ‘If I just jump off my roof, this is going to end, and I never have to worry about this feeling of my world closing in.' It felt like everything in my life was going to kill me. First it was the airplanes, then elevators. Then it was tunnels and hotels and modeling studios and cars. Now it was my own apartment. Everything had become a cage, and I was the animal trapped inside, panting for air. I couldn’t see a way out, and I couldn’t stand another day of feeling this way," she confessed.

"The idea swept over me then: Maybe it will be easier if I just jump. It will be all over. I can get out of this. When I think back on that moment, and that 23-year-old girl, I want to cry. I want to tell her that everything will be all right, that she hasn’t even begun to live her life. But in that moment, the only answer seemed to be to jump," she added.

Realizing she was in trouble, the Brazilian beauty rushed to the doctor, who prescribed her Xanax for her anxiety. Instead of relying on pills to get her through, she took a hard look at her life and changed her habits instead.

“I had been smoking cigarettes, drinking a bottle of wine and three mocha frappuccinos every day, and I gave up everything in one day. I thought, ‘If this stuff is in any way the cause of this pain in my life, it’s gotta go,'” she explained.

Bravo to her for being so vulnerable and proving that everyone has problems from time to time!