Basically washing our hands eliminated the black plague.
That’s not how it was spread, not really. It was spread by fleas and other blood to blood contact if the person had the bubonic plague and, in later stages, through the air in close contact via infectious respiratory droplets if the person had the pneumonic plague.