Actors Mark Wahlberg and Mario Lopez are taking a beating on social media for doing a joint workout at the gym during the COVID-19 pandemic. Critics argue they are setting a bad example and contradicting their previous calls to social distance.

On Thursday, Lopez posted a video of himself on Instagram working out inside an F45 training facility alongside Mark Wahlberg.

“Everyone’s pretty much been cooped up in their home for the last couple of weeks. I think now more than ever since we don’t know when this is going to end, we need to stay active, not just for your physical health but for your mental health,” Lopez said in the video, as reported by Page Six.

Lopez then pointed out Mark Wahlberg jokingly prancing behind him, whom he said was maintaining six feet of social distance. He also noted that the facility had been disinfected and sanitized prior to their arrival.

“That gazelle right there? My boy, Mark, we’re staying six feet away. This place we’re at right now we have completely to ourselves. It is sanitized, disinfected, we did a heck of a workout F45 style. Homie brought me the batting gloves. We’re good to go.”

The video was presented as a demonstration of the types of workouts people can perform at home under quarantine without much equipment.

“Check out our full-body workout that you can do right in your living room. NO EQUIPMENT needed! Only 45 minutes.. Keep the distance & spread the love,” Lopez said in the caption.

The workout was also attended by at least one woman and a man filming them with a cellphone, according to several clips that were posted to Instagram. Though some fans were enthusiastic about the video, others felt they were setting a bad example.

“Teach people from your own homes,” one user said. “Stay at home for real.”

“Shouldn’t gyms be closed there like dang near everywhere else???” said another user.

“Stay at home! You are all over the city,” said another.

Other fans were upset that Wahlberg and Lopez were allowed to work out in an LA gym despite them being closed as non-essential businesses.

“How is it open? It’s not essential! How is it fair that ya’ll can go to a gym to work out but us normal folks can’t?” lamented another person.

“Difficult to be rich and famous….” said another user.

Another fan went as far as to call Lopez a “narcissist” for not just exercising in his “mansion.”

“Hey narcissist! Why don’t you stay in your mansion and exercise instead of possibly spreading Covid19! What’s wrong with you?? I guess the Gov wasn’t speaking to you?” said the user.

“So everyone can do it at home, but yet…you do it in the gym where everyone’s not allowed to go…but you?” said another follower.

One self-described Australian said that media outlets in the land down under have even negatively reported on the two actors. “I’ve never heard of you but you just made the news in Australia for not staying at home as recommended by public health authorities. You are setting a very bad example for others for what appears like purely self-promotion,” said the user. “Maybe turn on the news and see how the virus is ravaging your country and killing the old and vulnerable.”

As noted by Fox News, both Lopez and Wahlberg encouraged social distancing at the start of the pandemic. Wahlberg has even posted videos of his family performing skits and dances while at home.