Seneca · On the fickleness of fortune
Letters 98.4
For whether you prefer to observe other men (and it is easier to make up one’s mind when judging the affairs of others), or whether you observe yourself, with all prejudice laid aside, you will perceive and acknowledge that there is no utility in all these desirable and beloved things, unless you equip yourself in opposition to the fickleness of chance and its consequences, and unless you repeat to yourself often and uncomplainingly, at every mishap, the words: “Heaven decreed it otherwise!”
Seneca, Letters to Lucilius 98.4, translated by Richard Mott Gummere