So the purpose of a hospital is to kill people?
Or if you limit your demographics, perhaps you might be thinking of the Tuskegee syphilis study, where treatment was intentionally withheld for a progressive, life-threatening disease without the consent of the patients, making its purpose to slowly kill the participants by its own admission?
Yes, if your hospital does seem to kill more people than most and there's no alternative explanation like accepting more severe cases, then its purpose might be inverse or orthogonal to its stated goal.
Infant mortality for hospital babies is what, well under 1/1000? Infant mortality was 25% for the vast majority of human history.
Modern medicine is legitimately indistinguishable from magic.