Seneca (ca. 4 B.C. to 65 A.D.) recommends that since life often sends us for a loop, we should just sit down, shut up, and deal with it:
You must reflect that fettered prisoners only at first feel the weight of the shackles on their legs: in time, when they have decided not to struggle against but to bear them, they learn from necessity to endure with fortitude, and from habit to endure with ease. In any situation in life you will find delights and relaxation and pleasures if you are prepared to make light of your troubles and not let them distress you. In no respect has nature put us more in her debt, since, knowing to what sorrows we were born, she contrived habit to soothe our disasters, and so quickly makes us grow used to the worst ills. 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 other by a tight one of baser metal: but what does it matter? We are all held in the same captivity….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….Abandoning those things which are impossible or difficult to attain, let us pursue what is readily available and entices our hopes, yet recognize that all are equally trivial, outwardly varied in appearance, but uniformly futile within… - “On Tranquillity of Mind,” in Seneca: Dialogues and Letters, ed. and trans. C.D.N. Costa (New York: Penguin Classics, rep. 2005), pp. 46-47
In some respects he sounds like Solomon in Ecclesiastes, but in others it looks like he could take a lesson from Job.