Edith Wharton said this quote

Sometimes life seems like a match between oneself and one's gaolors. The gaolers, of course, are one's mistakes; and the question is, who'll hold out longest? When I think of that, life instead of being too long, seems as short as a winter day....