Not so sure about that. According to a few studies, medical error is the 3rd leading cause of death, behind heart disease and cancer.
Many operations are elective. In such cases, having a tired surgeon or nurse may be worse than delaying the procedure, or even skipping it.
https://www.bmj.com/content/353/bmj.i2139
https://pubmed.ncbi.nlm.nih.gov/28186008/
https://journals.lww.com/journalpatientsafety/Fulltext/2013/...