If you want to improve as a developer, I'm sure people here can offer advice. (In that case, you should probably elaborate on what you think your shortcomings are in programming.) But it sounds like you've decided you don't want to.
I think your options are either 1) find a new job and leave, or 2) see if it's possible for you to be useful at your current job without writing your own code. If you trust your management, you could ask them which makes more sense there. If not, you should probably leave anyway.