W. Somerset Maugham said this quote

It might be that to surrender to happiness was to accept defeat, but it was a defeat better than many victories.