Jeanette Winterson said this quote

If the sun is shining, stand in it- yes, yes, yes. Happy times are great, but happy times pass- they have to- because time passes. The pursuit of happiness is more elusive; it is life-long, and it is not goal-centred. What you are pursuing is meaning- a meaningful life... There are times when it will go so wrong that you will be barely alive, and times when you realise that being barely alive, on your own terms, is better than living a bloated half-life on someone else's terms.