What is the meaning of Grit_one's_teeth?

To clench one's teeth together tightly because of pain, anger, frustration, or self-assurance.

To face up to a difficult or disagreeable situation and deal with it.

Source: wiktionary.org