Grit one’s teeth
To grit one’s teeth is a metaphor for displaying determination of purpose and dates from the late 18th century, and possibly gave rise to the sense of grit meaning firmness or solidity of character. See also grind one’s teeth.