Ben Affleck and Matt Damon are beginning a new era working together, but that wasn’t always the plan.

Affleck explained why he avoided working with his longtime friend for years after the runaway success and their best original screenplay Oscar win for 1998's "Good Will Hunting" in a new interview with The Hollywood Reporter.

"One of the things we reflected on when we did ‘The Last Duel’ that caused us to want to do this company together was the fact that we wished we’d kept working together more over the years," Affleck told the outlet. "We fell prey to this idea that, 'Well, if you don’t individuate your careers and do your own things, people will always associate you together. That will be limiting.'"

"That was advice we got," he said.

Ben Affleck and Matt Damon hold their Oscars on stage

Ben Affleck, left, and Matt Damon starred in and wrote "Good Will Hunting." They earned the best original screenplay Oscar in 1998, when Affleck was 25 and Damon was 27. (TIMOTHY A. CLARY/AFP via Getty Images)

'GOOD WILL HUNTING’ 25TH ANNIVERSARY: HOW BEN AFFLECK, MATT DAMON WENT FROM ‘DRAMA GEEKS’ TO MOVIE STARS

Affleck and Damon did appear in a handful of films together throughout the years, and created the HBO filmmaking series "Project Greenlight" together, but after "Good Will Hunting" they didn’t collaborate for quite some time until they appeared together in Ridley Scott’s "The Last Duel" in 2021.

Now they’ve co-founded a new production company, Artists Equity.

Added Affleck, "The motivation behind making ‘Good Will Hunting’ was to serve as an acting reel so that we could get jobs as actors, not because we wanted to be writers. So when we became successful and had the opportunity to do movies, we took them."

"And it’s very hard to let go of that hand-to-mouth mentality you have as an actor," he explained. "The phone could stop ringing at any time, and especially where Matt and I grew up pretty modestly, it was almost irresponsible to not take a job where they were going to pay you a lot of money." 

Matt Damon and Ben Affleck in tuxedos

Damon and Affleck teamed up again for the 2021 movie "The Last Duel." (Franco Origlia/Getty Images)

The "Justice League" star continued: "My mother made, I don’t know, $30,000 a year as a public school teacher in Boston. And I remember making $600,000 for ‘Armageddon’ and thinking, ‘This is 20 years of my mother’s salary.’ It just seemed absurd that you would pass on that opportunity, no matter what it was."

Affleck also reflected on the importance of his nearly 40-year friendship with Damon, saying, "I suppose the reason it works is that I trust him and love him, and I know that this is somebody with integrity. In this business, failure is hard, and success is confusing and can make you lose your bearings. Having that friendship as a touchstone over the years was really meaningful."

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

close up of Ben Affleck and Matt Damon smiling

Affleck reflected on the importance of his nearly 40-year friendship with Damon in an interview with The Hollywood Reporter. (MARCO BERTORELLO/AFP via Getty Images)

The first movie from their company, "Air," tells the story of Nike signing NBA legend Michael Jordan for a sneaker deal that would change the business and popular culture. The pair co-star, along with Viola Davis as Jordan’s mother, with Affleck directing.

In the interview, Affleck credits his wife, Jennifer Lopez, with helping him understand fashion and culture for "Air," and reveals that she gave him advice before he spoke with the outlet.

"[Jennifer Lopez] tells me today, 'Relax, be yourself. Have fun. You’re actually a fun guy who is real and genuine and you just seem so serious,'" the "Argo" star said. "But as in many things, she’s really right. And she loves me. She’s looking out for me. She’s trying to help me. So it’s like, maybe I ought to f---ing listen to her."

Jennifer Lopez and Ben Affleck at the Ralph Lauren show

Affleck and Jennifer Lopez were married July 16, 2022. (Michael Buckner/WWD via Getty Images)

Affleck admitted to being "guarded" in interviews, particularly after his 2021 interview with Howard Stern went viral after he appeared to blame ex-wife Jennifer Garner for his alcoholism.

BEN AFFLECK WORRIES ABOUT HOW PUBLIC PERCEPTION OF HIM MIGHT AFFECT HIS CHILDREN: 'THAT'S REALLY TOUGH'

He reiterated, "To be clear, my behavior is my responsibility entirely. The point that I was trying to make was a sad one. Anyone who’s been through divorce makes that calculus of, ‘How much do we try?’ We loved each other. We care about each other. We have respect for each other.

"I was trying to say, ‘Hey, look, I was drinking too much, and the less happy you become, whether it’s your job, your marriage, it’s just that as your life becomes more difficult, if you’re doing things to fill a hole that aren’t healthy, you’re going to start doing more of those things.’ I think I was pretty articulate about that."

Jennifer Garner with Ben Affleck at 2014 Vanity Fair party

Affleck and Jennifer Garner were married from 2005 to 2015 and share three children together. (Jon Kopaloff)

CLICK HERE TO GET THE FOX NEWS APP

The "Armageddon" star has been sober since 2020.

His movie with Damon, "Air," will be in theaters on April 5 before streaming on Amazon Prime.

Ben Affleck in a black suit

Affleck has been open about his alcoholism in interviews. He has maintained his sobriety since 2020. (Arturo Holmes/Getty Images)