She was never suicidal
I'll explain why I don't believe she ever wanted to kill herself while pregnant with Archie, and I have three very strong cases for it.
Case 1: Meghan loves herself more than anyone else on the planet, even Harry. She would never do anything that would put herself in jeopardy, particularly at that point in her life when she had plans for the future of eventually leaving the RF and seeking out her fortunes in Hollyweird when the RF hustle didn't work out. People with NPD and BPD are rarely suicidal, but they often fake being in that state to manipulate people's emotions into getting something they want.
Case 2: It's taken a few years of close video analysis and observation of Meg's timeline by others, as well as info from Harry's stupid book and what was sobbed to Oprah, for many to figure out where the suicidal BS came from. During her tenure with the RF, Meghan was visiting a dog shelter because the place was celebrating something and she was representing the RF there, since they were patrons of that place. The event was filmed, so what I'm gonna tell next can be found all over the place online. The video shows Meghan in a yellow jacket dress, crouching down (in a fashion most women at that stage of pregnancy would find impossible) and then she stands up quickly, and there's this very loud popping sound when she does so, and she freezes, looking like she's panicking and trying really hard to hide it. Basically, she was wearing an inflatable, latex moonbump (as part of her fake pregnancy) that got squished when she was crouching, and when she stood up everyone in the room could hear it reinflating, and she was panicking internally because she feared people would realize she'd given away her own scam that she'd perpetuating on the RF and the rest of the world. Meghan realized she would have to move up her timeline of leaving the RF sooner, so according to Harry's book, he found her on the floor of the kitchen later that day, sobbing and crying about feeling suicidal. He said that he often found Meghan doing that when she was "extremely upset," despite evidence showing that she was using it as a manipulation tactic on Harry. Video footage later in the day showed her at a coffee shop with friends (so much for the claim that the palace not allowing her out whenever she wanted) and looking happy. Video footage later that night shows her and Harrying going to a Cirque de Soleil performance, with Meghan wearing a blue sequinned maternity gown, and she didn't look the least bit suicidal (in fact she looked like she was having the best time of her life), despite crying and claiming feelings of being suicidal a few hours earlier, but Harry looked living throughout the whole performance.
Case 3: Among her 17 lies she told Oprah, she claims that she was feeling suicidal while pregnant with Archie, and claimed she went to "palace HR" asking for help, and claimed that they told her "it was not possible." This lie was debunked for two reasons: one, members of the royal family don't use a dept. called "HR," they go to the head of the household staff and ask to get professional help; and two, Harry was part of William and Catherine's "Heads Up" program that helped people with mental health problems, why didn't he help her out? She basically lied to make it look like the BRF were cold, cruel, and racist towards her to drum up sympathy from people stupid enough to buy her lies, and her lies were debunked in less than a week.