grit your teeth
US /ɡrɪt jʊər tiːθ/
UK /ɡrɪt jʊər tiːθ/

1.
to accept a difficult situation and deal with it in a determined way
:
•
I had to just grit my teeth and get through the last few miles of the marathon.
•
She didn't like the job, but she decided to grit her teeth and finish it.