"The best thing for being sad is to learn something."
Background: Merlyn, responsible for raising the boy who is destined to become the king of England, is an unusual teacher. Here, he advises young Wart/Arthur how to cope with frustration and sadness.
More of excerpt from T. H. White's The Once and Future King:
"The best thing for being sad," replied Merlyn, beginning to puff and blow, "is to learn something. That is the only thing that never fails. You may grow old and trembling in your anatomies, you may lie awake at night listening to the disorder of your veins, you may miss your only love, you may see the world about you devastated by evil lunatics, or know your honour trampled in the sewers of baser minds. There is only one thing for it then--to learn. Learn why the world wags and what wags it. That is the only thing which the mind can never exhaust, never alienate, never be tortured by, never fear or distrust, and never dream of regretting. Learning is the thing for you. Look at what a lot of things there are to learn--pure science, the only purity there is. You can learn astronomy in a lifetime, natural history in three, literature in six. And then, after you have exhausted a milliard lifetimes in biology and medicine and theocriticism and geography and history and economics--why, you can start to make a cartwheel out of the appropriate wood, or spend fifty years learning to begin to learn to beat your adversary at fencing. After that you can start again on mathematics, until is it is time to learn to plough."
Excerpt from T. H. White's The Once and Future King, Berkeley Medallion Edition, July, 1966, page 183.