Saving lives is not always about saving your life. You don't live in a vacuum, your decisions affect other people around you.
Where your decisions don't affect people around you, you're absolutely correct. But infectious diseases are not one of those cases.