A wonderful movie based on this premise was 1997's Life Is Beautiful (which won the Academy Award for Best Foreign Film). It told the story of a Jewish man, Guido Orefice (played by Roberto Benigni), who, along with his 5-year-old son, was interned in a Nazi concentration camp.
Here was a guy in the worst possible situation. Yet he was able to rise above it and protect his son from the horrors around them by using the power of his imagination -- something the Nazi guards could not control.
Guido Orefice was a fictional character. Most of us couldn't hope to have the resiliency of mind and spirit that he displayed in this movie. Most of us are disappointed when bad things happen to us. Sometimes we feel angry. Sometimes depressed.