Maybe Starbucks should do a little less preaching and a little more practicing.

In 2015, the java giant launched a clueless and condescending campaign called “Race Together,’’ in which baristas were instructed to scrawl that inane slogan on cups, in spots where they normally misspell customers’ names, as a way to “spark dialogue’’ on matters of race. The company’s then-CEO, Howard Schultz, thought he was helping to fix America.

Instead, it killed the buzz of practically every human being who just wanted to enjoy an overpriced cup of artisanal, sustainable, hand-crafted latte in peace. It was abruptly abandoned.

Maybe Starbucks should get down from its grande horse. An outlet in Philadelphia has become the target of days of massive protests, popular outrage and threatened boycotts after the manager last Thursday called the cops on two men who seemed to be doing nothing more sinister than Attempting to Use the Bathroom While Black.

I’ve visited the facilities at various Starbucks outlets without buying anything, as these men tried to do, and was never subjected to harassment or arrest. But the two men were seen on video being hauled from the store in handcuffs, apparently after refusing to leave because they were waiting for a friend to show up for a business meeting and weren’t thirsty.

“I would love to hear the 911 call on this case,” the unidentified men’s lawyer, Lauren Wimmer, said on “NBC Nightly News” Sunday. “You know the 911 call you’re never going to hear. ‘There’s two white women sitting here. One of them asked to use the bathroom and she didn’t order anything, come quick!’ ”

On Monday, Starbucks’ chief executive, Kevin Johnson, flew in from Seattle to Philadelphia, where he apologized in a private meeting with the two evidently blameless men, who’d been held in police custody for nearly nine hours then released without charges. Starbucks has announced that the manager who called police no longer works at the Philly cafe.

In a public relations Hail Mary, Johnson announced Tuesday that some 8,000 company-owned stores will close on the afternoon of May 29, and nearly 175,000 employees will participate in a “racial-bias training’’ session.

Here’s a suggestion. Instead of trying to spark a dialogue about race in America or lecture its employees about bias, why doesn’t Starbucks follow one simple rule: the golden one.

All Starbucks needs to do is tell employees and bosses something that they already know but that at least one manager seems to have forgotten: Treat everyone equally, or you’ll be fired.

We don’t need companies to lecture us. I don’t want to know what the political beliefs are of the cafe that sells me a Frappuccino. What I want is something well made, served politely, without thought of what I look like. Do unto others, Starbucks, and you won’t need hashtags or slogans. Corporations shouldn’t be our conscience, but they can lead by example.

Oh, and maybe stop charging $5 for a cup of coffee.