Over the course of Jada Pinkett Smith's 21-year marriage to Will Smith, they faced a number of ups and downs, and now the actress is admitting at one point she almost walked away.

She revealed that a change happened after their 10th anniversary.

“There was too much concentration on what was happening externally, and the family unit itself wasn’t getting the attention and care that I felt we needed," the host of the Facebook Watch series, "Red Table Talk," revealed.

JADA PINKETT SMITH REVEALED HER HUSBAND, WILL, FELT ‘ABANDONED’ BY HER EFFORTS TO GAIN MORE INDEPENDENCE

Pinkett Smith graces the cover of People magazine along with her co-hosts, daughter Willow, 18, and mother Adrienne, 65.

“Will’s like, ‘We just came from Oslo, going to the [2009] Nobel Peace Prize ceremony [for Barack Obama] as a family, you’ve got a big house with a lake — isn’t this amazing?!’ And I’m like, ‘No,'” Pinkett Smith said.

JADA PINKETT SMITH REVEALS SHE ONCE 'HAD AN UNHEALTHY RELATIONSHIP TO PORN'

“By the time my 40th [birthday] came, I was like, ‘I can’t do it anymore.’ I was so depleted," she added.

Actors Jada Pinkett Smith (L) and Will Smith attend the Environmental Media Association 26th Annual EMA Awards in Burbank, California

Actors Jada Pinkett Smith (L) and Will Smith attend the Environmental Media Association 26th Annual EMA Awards in Burbank, California (Rich Polk/Getty Images for Environmental Media Association)

Pinkett Smith confessed she even had thoughts of suicide and realized she needed to do a complete rehaul of her life.

“I had to really take time out for me and figure out what I wanted for myself,” the "Girls Trip" actress explained. “I had to kind of put everyone aside and ask, ‘What would I do every day if it was just Jada?’ I literally had no idea.”

JADA PINKETT SMITH SAYS THERE HAVE BEEN 'BETRAYALS OF THE HEART' BIGGER THAN INFIDELITY IN WILL SMITH MARRIAGE

But she knew her relationship with her family would survive even in the darkest of times.

“I am kind of a ride-or-die chick,” she told the publication. “I just knew with the kind of love that Will and I share — which is beyond romantic love — that we could transform our union and figure out how to re-create what we had.”

CLICK HERE TO GET THE FOX NEWS APP

While the process of self-evaluation was "excruciating," their relationship emerged "redefined."

“The journey between Will and me … we have come to such a beautiful place,” Pinkett Smith shared. “I feel like we have a stronger bond than we even had in the beginning.”