James Brolin was celibate in the '90s prior to his marriage to Barbra Streisand.

In a joint interview with CBS Mornings, Brolin, 83, told host Gayle King why he decided to be celibate for three years.

"I had been — literally it's a wild word — but I had been celibate for three years, saying, 'Who needs this?'" Brolin said.

Barbra Streisand and James Brolin wearing matching black outfits and reading glasses

James Brolin was celibate for three years before he married Barbra Streisand in 1998. (Getty Images)

Streisand, 81, chimed in, "You're not supposed to tell that," hitting her husband's knee playfully.

BARBRA STREISAND ASKED ROBERT REDFORD TO DO TAKE AFTER TAKE OF SEX SCENE IN ‘THE WAY WE WERE,' BOOK CLAIMS

"For three years?" King asked Brolin. 

"I had not had any interest in getting involved in a lousy situation," he explained.

"After three years, that must have been a hell of a night then?" Gayle quipped, and James responded, "Wild," laughing with his wife.

Prior to his decision to not be intimate, Brolin was married to Jan Smithers for nearly a decade, ending their marriage in 1995. James and Barbra tied the knot in 1998 and celebrated their 25th wedding anniversary in July.

James Brolin and Jan Smithers

James Brolin and Jan Smithers were together for nearly a decade before divorcing in 1995. (Ron Galella, Ltd)

Brolin wrote Streisand a letter to celebrate their impressive accomplishment. 

"Marrying you was just the best thing I've ever done," Brolin wrote in the letter, which he shared with the outlet. "I asked you three times." 

LIKE WHAT YOU’RE READING? CLICK HERE FOR MORE ENTERTAINMENT NEWS

"You asked her three times?" King asked. 

"I did. She wasn't sure about this idea. Minimum three times," Brolin said.

When Gayle asked Streisand why she wasn't set on marrying Brolin immediately, she said, "I don't know, I have to try them out first — for at least two years."

James Brolin, Barbra Streisand looking at each other

James Brolin and Barbra Streisand celebrated their 25th wedding anniversary in July. (Frederic J. BROWN)

Prior to her marriage to James, Streisand was married to Elliot Gould from 1963 to 1971. 

King continued reading Brolin's love letter.

Elliott Gould and Barbra Streisand looking serious directly at the camera

Barbra Streisand and Elliott Gould were married from 1963-1971. (Getty Images)

"Home is not a place, home is a person. You know someone is right for you if you love to be with them all the time," he wrote. "And when I go, when I finally go, I will love you then."

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

Streisand and Brolin were guests on CBS Mornings to promote the actress' upcoming memoir, "My Name is Barbra," which hits shelves on Nov. 7.

Close up of Barbra Streisand

Barbra Streisand shares details about her marriage in her upcoming memoir "My Name is Barbra." (Kris Connor/WireImage)

People magazine obtained an excerpt of Streisand's memoir in which she details why she believes her relationship with James — or Jim as she calls him — has withstood the test of time.

CLICK HERE TO GET THE FOX NEWS APP

"I think the real reason our relationship has endured is that we’re both willing to work at it," Streisand wrote, per the outlet. "Jim and I are very different. As he’s said to me, ‘You’re an expert at looking for what’s wrong, while I’m just happy to wake up in the morning.’ (He’ll live much longer than me. He keeps saying he’s going to live to be 100, and recently upped it to 110. He probably will, with that attitude.)"