Martin Luther, 16th-century reformer, theologian and pastor in response to the black/bubonic plague wrote a short 14-page pamphlet “Whether One May Flee a Deadly Plague.” One quote stands out, though the whole document is worth reading.
“You ought to think this way: “Very well, by God’s decree the enemy has sent us poison and deadly offal. Therefore I shall ask God mercifully to protect us. Then I shall fumigate, help purify the air, administer medicine, and take it. I shall avoid places and persons where my presence is not needed in order not to become contaminated and thus perchance infect and pollute others, and so cause their death as a result of my negligence. If God should wish to take me, he will surely find me and I have done what he has expected of me and so I am not responsible for either my own death or the death of others. If my neighbor needs me, however, I shall not avoid place or person but will go freely, as stated above. See, this is such a God-fearing faith because it is neither brash nor foolhardy and does not tempt God.”
For those who would like to read the whole 14-page pamphlet to see the quote in context, see the link below. I probably need to read it more than once.
https://rockrohr.net/wp-content/uploads/2014/03/Luther-WHETHER-ONE-MAY-FLEE-FROM-A-DEADLY-PLAGUE.pdf