Seneca said this quote

No one could endure lasting adversity if it continued to have the same force as when it first hit us. We are all tied to Fortune, some by a loose and golden chain, and others by a tight one of baser metal: but what does it matter? We are all held in the same captivity, and those who have bound others are themselves in bonds - unless you think perhaps that the left-hand chain is lighter. One man is bound by high office, another by wealth; good birth weighs down some, and a humble origin others; some bow under the rule of other men and some under their own; some are restricted to one place by exile, others by priesthoods: all life is a servitude.So you have to get used to your circumstances, complain about them as little as possible, and grasp whatever advantage they have to offer: no condition is so bitter that a stable mind cannot find some consolation in it.