Julian Barnes said this quote
“ You get towards the end of life - no, not life itself, but of something else: the end of any likelihood of change in that life. You are allowed a long moment of pause, time enough to ask the question: what else have I done wrong? ”