Nobody likes it when you're right, especially when they're wrong.
The truth is never popular, because it upsets the ego: "I've got it all sorted out, you can trust me". Truthtellers get subjected to egoic delusion unraveling, it threatens the half-truths and whole-lies they've spun for themselves, which to them is like dragging someone naked through the marketplace, nobody likes that! It's known in psychology as The Backfire Effect.
So never argue with the fool: plant seeds of truth when the time is right, and let it be. Today they insult you, tomorrow they mock you, in a year or ten years or perhaps another lifetime entirely they're repeating your words as if they had discovered them all on their own.