We do what we need to stay alive.
When you lose your health and then have to fight to regain it I believe that is a strong lesson.
Compared to surgery taking pills is quite a minor nuisance.
However I feel its a symptom of an aspect of grief that you are experiencing. Somehow the "taking of pills" is strongly associated with aging and while the old guy in the mirror can be ignored it is for some a point which makes them feel old.
In my 20's I was quite conscious of my parents need for pills and like you saw it as an indicator (one of many) that we were "wearing out" and needing more maintenance; more "squirts of Start ya *******" so to speak.
So I think I understand your point. How old are you now? 50? 60? ... and you've made it to here without needing help from "drugs". I'd call that cause for feeling content not malcontent.
I believe that more than anything what we can do is change our view of the world, not change the world. If the view you have is upsetting you then change it. You will no doubt find points in the past (if you review your past if you can) where your attitude between date A and date B (separated by decades) has altered. Perhaps you didn't consciously change it, but it changed. Surely then you can then tinker with your own attitude equally as have it changed by external pressures...
Myself I am in the midst of planning to see if I can take one set of pills off my plate. The three 500mg amoxicillin that I take daily.
To do this I have had to have a PET scan (which resulted in a colonoscopy too), and do an inordinate amount of reading and negotiating. Probably I will remain on the pills for some more months as I have decided I want to return to Finland, where I cant access the pathology tools I need.
It seems insane that I have invested so much energy to "drop three pills a day"
However its actually about something else, its about certainty that what path I am on is actually the best for me.
Many many people take more pills than you, as the saying goes "you can always find someone richer or poorer than you". My army mate has PTSD and familial hypertension, caught ross river fever (which ****** his joints), and has a few other ailments. Managing his pills is far more fraught as they don't want interaction between them.
The other option is to pretend that "living clean" actually means anything or that your body is not right now invaded and home to dozens of species ... and just die a wasting death over a few weeks or months.
Myself I'm a fighter.
I hope you are too.
Take your pills.