Giving unsolicited advice and criticism is a very good credible signal of respect
I have often heard it claimed that giving advice is a bad idea because most people don't take it well and won't actually learn from it.
Giving unsolicited advice/criticism risks:
People benefit from others liking them and not thinking they are stupid, so these are real costs. Some people also don't like offending others.
So clearly it's only worth giving someone advice or criticism if you think at least some of the following are true:
The above points all reflect a superior attitude compared to the average person. And so, if you choose to give someone advice or criticism despite all the associated risks, you are credibly signaling that you think they have these positive traits.
Not giving unsolicited advice and criticism is selfish
The "giving advice is bad" meme is just a version of "being sycophantic is good"—you personally benefit when others like you and so often it's useful to suck up to people.
Even the risk that your interlocutor is offended is not a real risk to their wellbeing—people dislike offending others because it feels uncomfortable to them. Being offended is not actually meaningfully harmful to the offended party.
Any rule about when to give advice has to be robust to people going on and on to lecture you about Jesus because they truly and sincerely want to keep you out of Hell. (Or lecture about veganism, or EA, or politics.)
More generally, social rules about good manners have to apply to everyone--both to people with correct beliefs and to people with incorrect ones. Just like not letting the police break into everyone's houses catches fewer criminals (when the police are right), but protects innocent people (when the police are wrong), not giving advice helps fewer people (when the advice giver is right), but saves people from arrogant know it alls and meme plagues (when the advice giver is wrong).