Half a century ago, the Austrian psychiatrist Viktor Frankl wrote that happiness cannot be attained by wanting to be happy - it must come as the unintended consequence of working for a goal greater than oneself.
They [Nazi captors]had more liberty, more options to choose from in their environment; but he [Viktor Frankl] had more freedom, more internal power to exercise his options.