Everything can be taken from a man but one thing: the last of the human freedoms—to choose one's attitude in any given set of circumstances.
Positive emotions broaden our awareness and allow us to see more possibilities.
Think of all the psychic energy expended in seeking a fundamental distinction between "algorithm" and "program".