Khloe Kardashian revealed her family pushed her to leave Lamar Odom's side in the hospital after dedicating almost a month solely to him.

During a recent interview with the San Diego Union-Tribune, the 31-year-old Keeping Up with the Kardashians star admitted her family nudged her to do something for herself after serving as Odom's vigilante.

"Just recently I've been in the hospital for almost three-and-a-half weeks straight, and finally everyone was saying, 'Khloe, you have to get out of the hospital and just for an hour, go to the gym and do something that's for you. Nothing's going to happen to Lamar,'" Kardashian told the newspaper.

"I had such anxiety going to the gym, but as soon as I left, and [Kendall Jenner] and I worked out with my trainer, I felt like 'Oh my God, I'm okay. I'm a human again!' I just felt so good. But for those three-and-a-half weeks, I didn't think about the gym because I was thinking about other things, and I don't beat myself up about it."

Odom, a 36-year-old former NBA star, was hospitalized October 13 after he was found unconscious at the legal brothel Love Ranch South in Nevada after allegedly mixing herbal Viagra, cocaine, and alcohol.

Kardashian released her new book Strong Looks Better Naked last week, and while she clearly has taken a strong interest in fitness and health, she never intended to make it her career or focus.

"I was going through a really difficult time in my life, and I was just figuring out if I was going to file for divorce or not. It wasn't about weight at all. It was that I needed a stress reliever, and I didn't know where else to go where I felt alone and safe but I still wanted to be around people," Kardashian said, referencing the time when she noticeably became very fit.

"My house obviously had all of these emotions and things in it, and I couldn't just go to my parent's house or my sister's because I would be asked too many questions. [The gym] was just the safest place where I still got that emotional release. Then the side effects started happening. I started losing weight, and I started really enjoying the workout process. It was definitely gradual and it took time."

Kardashian added she's extremely thankful for her family because they're always the people she can turn to and rely on.

"We literally live a real-life soap opera, like the things that happen in my family are just -- I don't know, they're crazy and they don't happen to the normal person. So just to see either how my mom handles something or [Kourtney Kardashian] might handle something or [Kimberly Kardashian] or Kendall, [Kylie Jenner], [Jenner], whatever."

The reality TV star continued, "We take so much from each other and we bring each other so much strength and support. We have a lot of strong women in our family, and I'm really grateful for that."