When life gives you lemons, make lemonade is a proverbial phrase used to
encourage optimism and a positive can-do attitude in the face of adversity
or misfortune. Lemons suggest sourness or difficulty in life; making
lemonade is turning them into something positive or desirable.
Learn more on wikipedia