Same with aviation. The DHL Flight 611 over Überlingen, Iran Air Flight 655, Ukraine International Airlines Flight 752, American Airlines Flight 5342, Pan Am Flight 1736 are just the few easy ones which comes to mind immediately.
> if you do everything right, you'll land safely.
You. And the people who designed your aircraft. The people who maintain your aircraft. And the ATC. And other pilots. And the people on the ground operating anti-aircraft missiles.
The pilots who died in the 787 MAX crashes would disagree. They did everything exactly as they were trained to do and still crashed.
You are thinking of the 737 MAX [0]. There is no such thing as a 787 MAX yet [1].