https://en.wikipedia.org/wiki/Amor_fati
Amor fati is a Latin phrase that may be translated as "love of fate" or "love of one's fate". It is used to describe an attitude in which one sees everything that happens in one's life, including suffering and loss, as good or, at the very least, necessary.[1]
Amor fati is often associated with what Friedrich Nietzsche called "eternal recurrence", the idea that everything recurs infinitely over an infinite period of time. From this he developed a desire to be willing to live exactly the same life over and over for all eternity ("...long for nothing more fervently than this ultimate eternal confirmation and seal").[2]
Albert Camus
The French philosopher Albert Camus, in his 1942 essay on "The Myth of Sisyphus", explores ideas similar to those of Nietzsche.[11] According to Camus's philosophy of absurdism, the human condition is analogous to the curse of Sisyphus, who in ancient Greek mythology was condemned to eternally repeat the task of pushing a boulder up a hill only to watch it roll back down again. Like Nietzsche, Camus concludes that happiness is only possible when the essential meaninglessness of one's existence is not only acknowledged but positively affirmed.[11]
In "Return to Tipasa" (1952), Camus writes:
Camus, like Nietzsche, held his embrace of fate to be central to his philosophy and to life itself. Summarizing his general view of life in the above work, Camus further spoke of: "a will to live without rejecting anything of life, which is the virtue I honor most in this world."