On what should have been a joyous occasion — her friend Serena Williams’ wedding to Alexis OhanianKim Kardashian looked downcast. The 37-year-old never cracked a smile while arriving at the nuptials, which she attended solo. Husband Kanye West was nowhere in sight.

As In Touch previously reported, Kim is getting ready to file for divorce from the rapper after three years of marriage and just weeks before their third child, a baby girl, is due. “It’s officially over. She is ready to move on with her life,” an insider revealed.

kim kardashian splash

Kim attending Serena Williams’ wedding.

The decision didn’t take place overnight. After Kanye’s breakdown one year ago, Kim had hoped things would get better for the couple once he took some time off, but his continued erratic behavior and frequent absences pushed the duo farther apart. “He’s hot and he’s cold. Even their sex life isn’t what it used to be,” a different source shared.

The Grammy winner will even ignore her when he’s close to home. “They recently had a blowout fight about him spending all his time in the recording studio,” the insider explained. “There are days she doesn’t even see him, and he’s not out of the country or even the state — he’s in LA!”

But Kim’s been able to lean on her tight-knit family. “Of course having a third child and being single is incredibly daunting for Kim,” the insider told Life & Style. “[But she] knows her mom, Kris [Jenner], and sister Kourtney will be there to help her pick up the pieces when Kanye is gone.” In fact, Kourt has served as an inspiration for Kim, given that she’s successfully raised her kids — Mason, 7, Penelope, 5, and Reign, 2 — since splitting from baby daddy Scott Disick in July 2015.

“Yes, it will be chaotic and exhausting, but [Kim] can afford to hire nannies and night nurses, so it’s not completely overwhelming,” the insider added. Our thoughts are with the reality star during this trying time.

Have a tip? Send it to us! Email In Touch at contact@intouchweekly.com.