Exodus 30:21

So they shall wash their hands and their feet, that they die not: and it shall be a statute for ever to them, even to him and to his seed throughout their generations.

Cross-reference

In Exodus 28:43, linen undergarments prevent guilt and death, similar to the washing command here — both avoid death in priestly service.