Matt Damon has shared that a significant career setback, losing out on a role in the 1996 film Primal Fear, ultimately served as a catalyst for him and Ben Affleck to write the Oscar-winning screenplay for Good Will Hunting.

Damon explained on Complex's GOAT Talk that he and Affleck had both pursued the part of Aaron Stampler in Primal Fear, a role that ultimately went to Edward Norton, marking his film debut. Norton's portrayal of the young altar boy accused of murder earned him critical acclaim and launched his career.

"Edward beat out everybody, and as he should have, he was phenomenal in the movie," Damon said. He and Affleck, who grew up together in Cambridge, Massachusetts, recognized the difficulty of breaking into Hollywood as unknowns. "There’s never gonna be a role that good that comes down into the category of unknown actor, and we all can take a shot at it, but it’s, you know, 10,000 people going for this one thing."

This realization spurred the pair to focus more intensely on writing their own material. "So we really buckled down and wrote Good Will Hunting a little more desperately," Damon stated. He added that breaking into the industry is exceptionally challenging, particularly securing initial roles.

Good Will Hunting, released in 1997, tells the story of a self-taught mathematical genius working as a janitor at MIT who is guided by a therapist (Robin Williams) to confront his past. The film was both a critical and commercial success, leading Damon and Affleck to win the Academy Award for Best Original Screenplay in 1998. The success of the film significantly altered their career trajectories, establishing them as bankable stars.

Damon is currently starring in the film The Odyssey, which also features Affleck. He has also expressed his desire to reprise his role as Jason Bourne, stating that discussions are ongoing for a potential new film in the action-thriller franchise.