I'm 49 and I feel like I only just hit my peak in coding knowledge and quality. I suspect I will feel the same when I'm 59 ;-)
But I have a question. Why can't you exactly walk away from the opportunity and money? I have exactly walked away from it and was better off for it. Not everyone will be, no doubt, but the fact that I exist means that it is possible ;-)