David Foster and Yolanda Hadid
Record producer David Foster (L) and Yolanda Foster attend Muhammad Ali's Celebrity Fight Night XX Getty

Opening up about her struggles with Lyme disease, former model and mother of Gigi and Bella, Yolanda Hadid has revealed painful details from her past including the moment she was dumped by her ex David Foster.

The Real Housewives Of Beverly Hills star makes the shocking revelations in an upcoming memoir – titled Believe Me: My Battle with the Invisible Disability of Lyme Disease – that releases on 12 September.

"There were plenty of times when I thought that I wouldn't make it through the night alive, and others where I wished and prayed that I would die," 53-year-old Yolanda describes in excerpts published from her book by Daily Mail.

The Dutch-American reality star was diagnosed with chronic neurological Lyme disease in 2012 at a Belgian clinic, and until then it was a series of tough experiences for Yolanda.

As she opens up about her support system – her three children Gigi, 22, Bella, 20, and Anwar, 18 – during the time, the former model also details moments of criticism from not only her RHOBH co-stars but also her ex Foster.

She met her first husband, real estate developer Mohamed Hadid in 1993 during a photo shoot in Aspen, Colorado. While the pair got married and had children their marriage didn't last long, as Yolanda observes in her book, "He's a good human being and provider for his children... But unfortunately for me, he's not a faithful husband."

Later the mother-of-three met Foster, the Canadian musician at her ex-husband's dinner party and by 2011 she had walked down the aisle with the Grammy-winning music producer. However, life changed for her as soon as she had the Lyme disease diagnosis in the following year.

"I'm scared that I'm losing my mind. Something is growing in my brain. I can feel it," she writes in her memoir. "Plus I have so many crazy symptoms like joint pain, cramps in my toes and fingers, exhaustion, insomnia and anxiety – all of it is overwhelming my entire system."

Amid her sickness, Yolanda had to face criticism from her Bravo co-stars and her failing marriage with Foster didn't help either.

"Your sick card is up," her now ex-husband told her before he moved out to a hotel in Beverly Hills. By 2016, the reality star had quit her hit show.

"I'm going to find a cure for this disease and nothing and nobody is going to stop me. I will not allow anyone to shut me up or shame me into silence, and I'm not going to rot away behind closed doors," a determined Yolanda vows despite her hardships.

Victoria's Secret fashion show 2016
Bella (L) and Gigi Hadid kiss their mother, US-Dutch model Yolanda Hadid Patrick Kovarik/AFP