If you work in a place where there is not enough funding for your job to do it safely and people may day, you need to walk away.
If upper layers "solve" it by hiring less competent people, then that is something on their conscience.
When the problem is at the top, just bearing with it at the bottom will not help at all. Even if you manage to save lives, you virtually sacrifice your own.