Wise men talk because they have something to say; fools, because they have to say something. – Plato
Another version of this is: only talk when doing so will improve upon the silence (paraphrased, from who I don’t know).
Talking just because you want to talk is needy, or narcissistic or disrespectful – or all three.
Take the time to consider if what you’re thinking of saying is useful, or helpful.
Sometimes, it’s not.