bite one's tongue

verb
Graduate
1

To resist the urge to speak out, especially in order to avoid saying something inappropriate or likely to cause a dispute.

Thesaurus