In the days before effective anesthetics soldiers were given bullets to bite on to help them endure pain. Improvements in battlefield medicine has seen the real act of biting bullets migrated into metaphor, although it must still happen occasionally.
GRTZ BtB
Background from flickr user