A professor at SUNY Old Westbury is offering a lesson in hate.

Nicholas Powers, an associate professor of literature at the taxpayer-funded public college on Long Island, penned an article titled, “Seeing poor white people makes me happy,” that was posted to the website RaceBaitr on June 11.

“White people begging us for food feels like justice . . . It feels like a Black Nationalist wet dream,” Powers wrote as he recounted seeing a “white homeless boy” panhandling in a black neighborhood.

“Should I kick him in the face? Hard?” writes Powers, 44, who identifies as Puerto Rican and part of the “black nationalist tradition.”

Describing his reaction to seeing the homeless man again, Powers wrote: “Today I own my anger. I want to snatch his food and say, ‘Go beg in a white neighborhood!’ And eat it. And rub my belly. And laugh.”

“Here is a descendant of murderers who killed our ancestors now begging us to save their life,” he wrote.

RaceBaitr bills itself as an online platform “dedicated to imagining and working toward a world outside of the white supremacist . . . gaze.” Powers’ piece was deleted from the site.

He did not respond to requests for comment.

Gov. Cuomo’s office would not comment on the $82,122-per-year tenured State University of New York prof and referred calls to the college, where Powers has worked since 2006.

The college called the piece “distasteful and hurtful” but said Powers would not be disciplined.

“The points of view expressed were those of Dr. Powers alone and are protected under his right to free speech,” it said in a statement.

“He remains a member of our faculty. Dr. Powers has been advised that he does not speak, nor should he suggest at any time, that he is speaking for the college.”

In a June 2016 piece on another site, The Independent, Powers blasts people who voted for President Trump as “racist a- -holes.”

“F- -k your whiteness with my dirty Rick James boots,” he wrote in the piece.

In a 2018 piece, Powers admits popping ecstasy and roaming the East Village in a drug-induced stupor to celebrate the election of Barack Obama in 2008.