He wasn’t hungry, but food saved his life.
He was lying in a dungeon tied to a bench. A slowly descending sickle swung above him that was supposed to kill him. However, he used leftovers from a bowl of food to lubricate the ties (ropes), which were thus gnawed by rats.
From the story "The Pit and the Pendulum" by Edgar Poe.