There is nothing wrong with being imperfect. Understanding one’s knowledge and limitations is admirable.

The rub comes with dictating to others what their course of action should be once care has ended.

It is not the care or dedication of those involved in the treatment or even the decision to stop. It is not disparaging the medical system to say it is beyond or knowledge to heal. I see no shame in that.
It is the going beyond the treatment and making decisions beyond the care. That is beyond the field of medicine. Why try to impose their will upon seemingly dying patients unless you have a fear of medicals.