The Kardashians star Kim Kardashian has chosen to look at the ongoing drama with her ex-husband Kanye West from a positive perspective. The star was recently declared legally single, but that hasn't stopped Kanye from continuing to harass Kim and her boyfriend, Pete Davidson. Most recently, a series of texts between Pete and the rapper leaked in which the Saturday Night Live star begged Kim's ex to seek help for his mental health struggles and warned him of the dangerous effects his behavior could have on his family. Fans of the Kardashian family have been rallying behind Kim and bringing attention to the ongoing issues of women being harassed by their exes.

Luckily, Kim's spiritual beliefs have gotten her through a lot of rough periods of her life. The reality TV star's father, Robert Kardashian, passed away from cancer about a month before her 23rd birthday. Since his death, Kim has remained connected to her late father through spirituality, psychic mediums and asking for signs. On her son Saint's 6th birthday, Kim shared on Instagram that she saw six rainbows in her home, the most she's ever seen at her house, and she believed they were birthday messages from her father. She's also shared an unbelievable encounter with a medium, who told her that her youngest son, Psalm, is a reincarnation of her father.

Related: Kim Kardashian Calls Kanye The Best Dad Despite Tumultuous Relationship

The Kardashians star Kim's spirituality is once again giving her strength and helping her cope with a difficult time. The KKW Beauty founder stopped by The Ellen DeGeneres Show, where the host praised her for taking the high road and protecting her ex-husband for the benefit of her children. Kim went on to explain that she believes the entire situation is meant to teach her a lesson. While she's aware it sounds "super zen," the reality star said, "This was put in my life for a reason." While it isn't easy looking at the situation through this lens, Kim knows that there is a lot she can learn from the situation, and she isn't going to give up an opportunity for growth.

"I used to care so much about narratives and what's true and what's not true," Kim revealed. But all the struggles she's been through have challenged her beliefs and helped her evolve. Now the reality star tries to take a powerful message away from every situation that seemingly isn't going her way. When things get tough, she just does her best and does what feels right to her regardless of what other people might think. While Kanye may be hoping for a stronger reaction from his ex-wife, she's pretty set on her new mindset: "Learn, move on and be a good person."

It's great to see that Kim is staying strong through all that Kanye is putting her through. While she has every right to be angry and frustrated, her perspective is certainly more productive than lashing out. Kim has always been an incredible mom to her four children, and choosing to take the high road definitely has the greatest benefit on her children. The Kardashians star is setting a great example and offering plenty of advice to any other women who may be in her situation.

Next: Kim Kardashian Reveals Pete Has ‘A Few’ Tattoos Dedicated to Her

The Kardashians premieres April 14 on Hulu.

Source: The Ellen DeGeneres Show/ YouTube