idiom

Bite one's tongue.

Theme: speech Keyword: mouth

means

To stop oneself from saying something one is tempted to say.

Example

I had to bite my tongue when he criticized the plan.