Matt Damonhas no problem third-wheeling when it comes to his best friend’s relationship.

Walking in Malibu, near Paradise Cove, Affleck, 48, and Lopez, 52, held hands with one another as Damon followed closely beside the pair.

For the outing, Damon wore a T-shirt, shorts and a hat, which he accessorized with a pair of dark sunglasses, as he walked barefoot. Affleck wore a T-shirt, a pair of pants and shoes, while Lopez strolled in a flowing, white bathing suit cover-up.

Theo Wargo/Getty Images; Rodin Eckenroth/FilmMagic; Emma McIntyre/Getty Images

Matt Damon; Ben Affleck; Jennifer Lopez

Late last month, while chatting withExtraat the premiere of his latest filmStillwaterin New York City,Damon talked about Affleck and his rekindled romancewith Lopez, telling the outlet, “I’m just so happy for him.”

“He’s the best. He deserves every happiness in the world,” the actor added of his longtime friend. “I’m glad for both of them.”

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.

A day later, Damon appeared onSiriusXM’sThe Jess Cagle Show, where co-host Jess Cagle told the actor, “You’re very happy forBen AffleckandJennifer Lopez. I know you love getting asked about that.”

“Right. But how else would I be?Like, would I be unhappy?Like, ‘I hate true love,'” he replied at the time, before joking, “It sucks. Yeah. Yeah. I wish them nothing, but you know, hardship.”

RELATED VIDEO: Matt Damon Admits He TextsBen Affleckto Fact Check Stories About Him: ‘Did This Happen?’

Affleck and Lopezbegan seeing each other againin April after their respective splits fromAna de ArmasandAlex Rodriguezearlier this year.

The couple originally began dating in July 2002 after filmingGiglitogether. They got engaged that November before postponing their September 2003 wedding, just days before the date, and ultimately calling off their engagement in January 2004.

A source recentlytold PEOPLEthat the pair “are madly in love” and “the loves of each other’s lives.”

Another source close to Affleck and Lopez noted that theJustice Leagueactor is “very happy” with the singer, and that “she’s wonderful for him,” while an insider close to Lopez added, “They want to doeverything they can to make this work.”

Of the connection between the two, the Lopez insider added: “Even though their split many years ago was devastating for Jennifer, she has never had a bad word to say about Ben.”

source: people.com