Viktor E. Frankl said this quote

The way in which a man accepts his fate and all the suffering it entails, the way un 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.