When life hands you lemons, make whiskey sours.
W. C. Fields (1880-1946) American entertainer [b. William Claude Dukenfield]
(Attributed)
While attributed to Fields, possibly on a radio show, there is no documentation to indicate he ever actually said it.
More exploration of other references: The Big Apple: “When life gives you lemons, make a whiskey sour. For God’s sake, we’re adults now, people”.