In The Myth of Sisyphus written by Albert Camus, Sisyphus is condemned to the punishment of pushing a rock up a hill and then watching it roll back down when it gets to the top of the hill, and doing that over and over again. However, throughout his time doing this task over and over again, he has found his happiness because he found his purpose, as long as he keeps pushing the boulder up the hill, he has achieved his purpose. Sisyphus is aware of his future and his fate. Similarly, in The Stranger also written by Albert Camus, Mersault, the main character is put in jail after killing someone. Throughout the story, we see how Mersault shows no empathy. When Mersault is in prison, during an outburst with the chaplain, he realizes that he no longer has freedom. However, he is happy because he accepts his fate.
Both Mersault and Sisyphus are in a lifetime of punishment where they have no freedom. However, they are both happy because they accepted their fate and know what lies in their future. They both found happiness in the situation that they were in. Both stories show the theme of existentialists of meaning and absurdity.