I remember someone saying that and how much it hurt. Because I feel if I know the answer, I am compelled to share it. I see it as a need on their side that I should fulfill. I am a “how can I fix it” mentality. But some people are complaining or speaking just to be heard. They want commiseration, not answers.
If it’s someone close to you, then speak about it — “I’m sorry, I thought you wanted an answer or suggestion, I feel I should provide if I can. Is that not what you’re looking for?”
If it’s someone else, whose opinion is not necessary, you can make a mental note to let them have their delusions, just maybe not with you around.
Which is one of the reasons cats and dogs hate each other — they speak completely different languages. Not just the belly example, but when a dog wags its tail, it’s friendly. When a cat waves its tail, watch out!
Cats and dogs raised together eventually work this out.