Ben Affleckis speaking candidly about his relationship with alcohol.During an appearance on theHoward Stern Showon Monday, Affleck, 49, got candid about his struggles with drinking while married toJennifer Garner, with whom he shares three children: Violet, 16, Seraphina, 12, and Samuel, 9.“I’d probably still be drinking. It’s part of why I started drinking … because I was trapped,” theArgodirector admitted toHoward Sternof feeling unhappy in his marriage to Garner, 49. “I was like ‘I can’t leave ‘cause of my kids, but I’m not happy, what do I do?’ What I did was drink a bottle of scotch and fall asleep on the couch, which turned out not to be the solution.“Ben Affleck and Jennifer Garner in 2014.Angela Weiss/FilmMagicAffleck has gone to rehab multiple times for alcohol addiction over the years,including in 2001, 2017 – which he revealed in a post on Facebook – and 2018, whenhe and Garnerfinalized their divorce.Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.TheGone Girlstar, who wed Garner in 2005 and later separated in 2015, also told the longtime radio show host that he and the13 Going on 30star did everything they could to keep their marriage together, but like many Hollywood relationships, it just didn’t work out.RELATED VIDEO:Jennifer GarnerJoins ExBen AffleckandJennifer LopezWhile Trick-or-Treating with Kids in Malibu"The truth was, we took our time, we made the decision … We grew apart,” Affleck explained.For more onBen Affleckand other top stories, listen below toour daily podcast on PEOPLE Every Day.“We had a marriage that didn’t work, this happens, with somebody that I love and respect, but to whom I shouldn’t be married any longer. Ultimately, we tried. We tried, we tried because we had kids. Both of us felt like we don’t want this to be the model that our kids see of marriage.“Ben Affleck and Jennifer Lopez.Alberto E. Rodriguez/WireImageWhile Affleck and Garner had their fair share of ups and downs over the course of their relationship, the former spouses are on good terms now.Garner even joined Affleck andJennifer Lopez, who rekindled their romance earlier this year after calling off their engagement in 2004, for some trick-or-treating fun with their kids on Halloween.“Everyone gets along and the focus is always on the kids. Jennifer, Ben and Jen Garner all wanted the kids to have an amazing Halloween,“a source previously told PEOPLEat the time. “The kids are friends and wanted to go trick-or-treating together. It made sense that they all went together.“If you or someone you know is struggling with addiction, please contact the SAMHSA substance abuse helpline at 1-800-662-HELP.

Ben Affleckis speaking candidly about his relationship with alcohol.

During an appearance on theHoward Stern Showon Monday, Affleck, 49, got candid about his struggles with drinking while married toJennifer Garner, with whom he shares three children: Violet, 16, Seraphina, 12, and Samuel, 9.

“I’d probably still be drinking. It’s part of why I started drinking … because I was trapped,” theArgodirector admitted toHoward Sternof feeling unhappy in his marriage to Garner, 49. “I was like ‘I can’t leave ‘cause of my kids, but I’m not happy, what do I do?’ What I did was drink a bottle of scotch and fall asleep on the couch, which turned out not to be the solution.”

Ben Affleck and Jennifer Garner in 2014.Angela Weiss/FilmMagic

Ben Affleck and Jennifer Garner

Affleck has gone to rehab multiple times for alcohol addiction over the years,including in 2001, 2017 – which he revealed in a post on Facebook – and 2018, whenhe and Garnerfinalized their divorce.

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

Ben Affleck

TheGone Girlstar, who wed Garner in 2005 and later separated in 2015, also told the longtime radio show host that he and the13 Going on 30star did everything they could to keep their marriage together, but like many Hollywood relationships, it just didn’t work out.

RELATED VIDEO:Jennifer GarnerJoins ExBen AffleckandJennifer LopezWhile Trick-or-Treating with Kids in Malibu

“The truth was, we took our time, we made the decision … We grew apart,” Affleck explained.

For more onBen Affleckand other top stories, listen below toour daily podcast on PEOPLE Every Day.

“We had a marriage that didn’t work, this happens, with somebody that I love and respect, but to whom I shouldn’t be married any longer. Ultimately, we tried. We tried, we tried because we had kids. Both of us felt like we don’t want this to be the model that our kids see of marriage.”

Ben Affleck and Jennifer Lopez.Alberto E. Rodriguez/WireImage

ben-affleck-jennifer-garner-1.jpg

While Affleck and Garner had their fair share of ups and downs over the course of their relationship, the former spouses are on good terms now.

Garner even joined Affleck andJennifer Lopez, who rekindled their romance earlier this year after calling off their engagement in 2004, for some trick-or-treating fun with their kids on Halloween.

“Everyone gets along and the focus is always on the kids. Jennifer, Ben and Jen Garner all wanted the kids to have an amazing Halloween,“a source previously told PEOPLEat the time. “The kids are friends and wanted to go trick-or-treating together. It made sense that they all went together.”

If you or someone you know is struggling with addiction, please contact the SAMHSA substance abuse helpline at 1-800-662-HELP.

source: people.com