bite your tongue
definition
to hold back from saying something you want to say
example
I wanted to tell my boss exactly how I felt, but I had to bite my tongue to avoid trouble.
word origin — From the 1500s — biting your own tongue physically stops you from speaking the words you really want to say.