Oh mate! I totally get you.
when my little girl was on active treatment for her cancer related illness i had to give her a whole plateful of medications multiple times a day, some of which tasted awful (cyclosporine! 🤢) and it absolutely broke me to have to get it into her (pleading, bribing, negotiating & occasional forcing, I’m horrified to say) and she was 6.
For a long time she resented and mistrusted me because she had it in her head that if mum hadn’t taken her to hospital, none of the awful tests, procedures & medications would’ve happened. Of course, if I hadn’t taken her to hospital we would’ve lost her, but you can’t tell a child that!
Anyway, she’s starting secondary school in September and she’s a healthy, growing, on target for everything (mostly caught up academically after a missed year of school too).
I felt like I was living through some sort of purgatory at the time, but here we are on the other side, and she’s thriving.
Just focus on the good bits and try not to dwell on the medications. You are doing what has to be done to keep her safe and well and sometimes that means doing stuff that makes you temporarily the bad guy (like nasty medicines or holding your child still while they get a cannula or sending them into an MRI machine alone).