Viktor Frankl's book Man's Search for Meaning is one of the strongest texts I've read in my life. I consider it a must-read material. The highest possible price was paid for this book to be born: in human lives lost to the horrifying anguish.
The quote below reveals precisely the point expressed in this intense book.
An active life serves the purpose of giving man the opportunity to realize values in creative work, while a passive life of enjoyment affords him the opportunity to obtain fulfillment in experiencing beauty, art, or nature. But there is also purpose in that life which is almost barren of both creation and enjoyment and which admits of but one possibility of high moral behavior: namely, in man's attitude to his existence, an existence restricted by external forces. A creative life and a life of enjoyment are banned to him. But not only creativeness and enjoyment are meaningful. If there is a meaning in life at all, then there must be a meaning in suffering. Suffering is an ineradicable part of life, even as fate and death. Without suffering and death human life cannot be complete.
The way in which a man accepts his fate and all the suffering it entails, the way in which he takes up his cross, gives him ample opportunity -even under the most difficult circumstances- to add a deeper meaning to his life. It may remain brave, dignified and unselfish. Or in the bitter fight for self-preservation he may forget his human dignity and become no more than an animal. Here lies the chance for a man either to make use of or forgo the opportunities of attaining the moral values that a difficult situation may afford him. And this decides whether he is worthy of his sufferings or not.