Jennifer Lopez gave insight into how much what critics say about her online impacts her amid her divorce from Ben Affleck.

Jennifer Lopez knows she’s going to dance again, despite what her haters say.

The Hustlers actress—who is in the midst of a divorce from Ben Affleck—has had a tumultuous year, both personally and professionally, canceling her This is Me…Now tour just  a few months before her breakup.

But despite her “whole f–king world” exploding, she’s retained important perspective even as critics on social media take aim at her.

“I know that everything that’s being written and said about me, and all the conjecture of who I am as a person, is not who I am,” Jennifer told Nikki Glaser in a conversation for Interview magazine published Oct. 9. “I learned that a long time ago.”

In some ways being in the public eye for three decades has given her important clarity. She added, “And social media, because it came along after I had been in the public eye for a while, I don’t take it as seriously as everybody else.”

Amid all of the outside noise from the public, the 55-year-old said that it’s those around her knowing who she really is that keeps her grounded.

“I know I’m a good person,” Jennifer, who is mom to 16-year-old twins Max and Emme with ex Marc Anthony, explained.  I know I’m a good mom. I know who my friends are. I know my friends know who I am, my mom, my dad, all that stuff. If you hope to have a long career, you have to learn how to deal with that part of the business.”

She went on to note that “some people are going to love you and some are not going to understand you, and some people just want to hate you to hate you, and none of that really matters.”

For the “Love Don’t Cost a Thing” singer, it’s also about reminding herself that she’s “been doing this for a very long time” due to her intrinsic love for performing and creating art.

Jennifer Lopez, Big PicSam Santos/Shutterstock

“What matters for me, as an artist, is doing work that inspires me and that I enjoy doing,” she said, “whether it’s a huge commercial success or something that only touches one person that nobody ever f–king even sees. It doesn’t matter.”

“This is my life’s passion,” the Grammy nominee added. “I love to sing. I love to dance. I love to act. I love to entertain. I love to create.”

With all of that being said, Jennifer admitted that negative comments can still affect her from time to time.

“Anything anybody could say about me,” she confessed. “Please don’t get me wrong, if I see something that’s hurtful, I’m not Teflon.”

In addition to reflecting on her public perception, Jennifer also gave some insight into what she’s learned in the aftermath of her split from Ben, who she filed for divorce from in August.

“You have to be complete, if you want something that’s more complete,” she shared. “You have to be good on your own. I thought I learned that, but I didn’t. And then, this summer, I had to be like, ‘I need to go off and be on my own. I want to prove to myself that I can do that.”

Keep reading for more on Jennifer and Ben’s relationship.

Ben Affleck, Jennifer Lopez, Romance Rewind, December 2001Mel/Getty Images

December 2001: Filming Gigli

The two prepare to film a scene for the movie in West Hollywood. The couple met on the set of the film.

Ben Affleck, Jennifer Lopez, Romance Rewind, October 2002Mel Bouzad/Getty Images

October 2002: Spotted in Beverly Hills

The two are spotted in the city.

Ben Affleck, Jennifer Lopez, January, 2003Ben-Ari Finegold/Getty Images

November 2002: Filming Gigli and Engagement

The two film the movie on Will Rogers State Beach in Los Angeles. That month, the actor proposes to the actress with a 6.1-carat pink diamond ring.

Ben Affleck, Jennifer Lopez, Romance Rewind, November 2002James Devaney/WireImage

November 2002: Filming Jersey Girl

The two film the movie in New York City.

Ben Affleck, Jennifer Lopez, Romance Rewind, November 2002James Devaney/WireImage

November 2002: Leaving MTV’s TRL

Is there anything more ’00s than both Bennifer 1.0 and TRL?

Ben Affleck, Jennifer Lopez, December, 2002Tom Kingston/WireImage

December 2002: Red Carpet Debut

The two make their red carpet debut as a couple at the premiere of her film Maid in Manhattan.

Ben Affleck, Jennifer Lopez, January, 2003Frazer Harrison/Getty Images

January 2003: Sundance

The two bundle up at the Sundance Film Festival in Utah.

Ben Affleck, Jennifer Lopez, 2003 Daredevil PremiereChris Weeks/WireImage

February 2003: Daredevil Premiere

The two appear at the premiere of Daredevil, starring Ben as the superhero.

Ben Affleck, Jennifer Lopez, February, 2003Frank Trapper/Corbis via Getty Images

February 2003: Daredevil Premiere

The two appear at the premiere of Daredevil, starring Ben and future ex-wife Jennifer Garner.

Ben Affleck, Jennifer Lopez, March, 2003Kevin Winter/Getty Images

March 2003: Oscars

The two attend the Academy Awards together.

Ben Affleck, Jennifer Lopez, Romance Rewind, May 2003Vince Bucci/Getty Images

May 2003: Basketball Game

The two sit courtside at a Los Angeles Lakers game.

Ben Affleck, Jennifer LopezJeff Vinnick/Getty Images

July 2003: Canada Trip

The two film a Dateline interview for NBC in Vancouver.

Ben Affleck, Jennifer LopezJeff Kravitz/FilmMagic

July 2003: Gigli Premiere

The two appear at the premiere for their movie in Westwood, Calif.

Ben Affleck, Jennifer Lopez, GigliMoviestore/Shutterstock

August 2003: Gigli Is Released

…it flops at the box office.

Jennifer Lopez, Ben Affleck, Hollywood Film AwardsChristopher Polk/Jason Merritt/Getty Images for DCP

September 2003: Wedding Is Off

The two postpone their wedding. No future date is given.

Ben Affleck, Jennifer Lopez, October, 2003Ezra Shaw/Getty Images

October 2003: Baseball Date

The two are seen at a Boston Red Sox game. The team is Ben’s favorite.

Jennifer Lopez, Ben Affleck, 2003Steve Granitz/WireImage

January 2004: It’s Over

The two end their engagement.

Ben Affleck, Jennifer Lopez, 2021 Venice Film Festival Pascal Le Segretain/Getty Images

September 2021: Red Carpet Royalty

They’re baaaack. On Sept. 10, the couple makes their first red carpet appearance in 18 years at the Venice Film Festival premiere of The Last Duel.

Ben Affleck, Jennifer Lopez, 2021 Venice Film Festival FILIPPO MONTEFORTE/AFP via Getty Images

September 2021: Look of Love

There’s no denying J.Lo makes for a stunning plus-one!

Jennifer Lopez, Ben Affleck, Global Citizen LiveRobert Kamau/GC Images

September 2021: Back to the Stage

Ben supports J.Lo at the 2021 Global Citizen Live event in New York City, where she performed onstage. It marked her first music gig since she performed at VAX LIVE in May, where the actor also appeared onstage separately, fueling rumors of a rekindled romance.

Ben Affleck, Jennifer Lopez, 2021 Met Gala, CouplesKevin Mazur/MG21/Getty Images for The Met Museum/Vogue

September 2021: Met Gala Debut

The two attend the Met Gala together for the first time.

Ben Affleck, Jennifer Lopez, The Last Duel premiereStephen Lovekin/Shutterstock

October 2021: PDA at Premiere

Jen and Ben put on a sizzling display on the red carpet at the premiere of his film The Last Duel in New York City.

Ben Affleck, Jennifer LopezFrazer Harrison/Getty Images

April 2022: Engaged Again!

Jennifer confirmed her engagement to the Gone Girl actor with a video posted to her On The JLo site, revealing a glimpse of her beautiful engagement ring with a green stone.

Jennifer Lopez, Ben Affleck, weddingonthejlo.com

July 2022: Married!

On July 16, Jennifer and Ben tied the knot in a surprise ceremony at A Little White Wedding Chapel in Las Vegas.

Ben Affleck, Jennifer Lopez, ParisPierre Suu/GC Images

July 2022: Post-Wedding Trip to Paris

The two vacation with her twins and two of his kids in the French capital soon after their wedding.

Jennifer Lopez, Ben Affleck, The Flash Premiere, 2023Axelle/Bauer-Griffin/FilmMagic

June 2023: Red Carpet Fabulous

J.Lo steps out with Ben in support of his movie The Flash.

Ben Affleck, Jennifer LopezSteve Granitz/FilmMagic

February 2024: This Is Them…Now

Jennifer release This Is Me… Now, an album about her relationship with Ben. The record is accompanied by a musical film titled This Is Me… Now: A Love Story and the documentary The Greatest Love Story Never Told.

Jennifer Lopez and Ben AffleckGotham/GC Images

March 2024: Jenny on the Block

The couple enjoys a day out in NYC on March 30, 2024.

Ben Affleck, Jennifer LopezKevin Winter/Getty Images

August 2024: Divorce

J.Lo filed for divorce Aug. 20, listing the date of separation as Apil 26, according to the filing obtained by TMZ.