Bava Kamma 60b writes that one should remain indoors when a plague rages outside, quoting three pesukim to support this. While the first passuk establishes the base case, the second passuk establishes that this applies to even a daytime plague. What's puzzling to me is the rationale behind the necessity for the third passuk:
וכי תימא ה"מ [היכא] דליכא אימה מגואי אבל היכא דאיכא אימה מגואי כי נפיק יתיב ביני אינשי בצוותא בעלמא טפי מעלי ת"ש מחוץ תשכל חרב ומחדרים אימה אע"ג דמחדרים אימה מחוץ תשכל חרב
And if you would say that this matter applies only where there is no fear inside, but where there is fear inside, [one might think that] when he goes out and sits among people in general company it is better, come and hear: “Outside the sword will bereave, and in the chambers terror.” Although there is terror in the chambers, outside the sword will bereave, [so it is safer to remain indoors].
I find this hard to understand. The Gemara seems to be entertaining the possibility that it's preferable to go outside, where there is a risk to one's life, because of his mental health? We push practically everything aside for the sake of saving a life; why would we entertain the possibility that mental health takes precedence over one's physical wellbeing, to the extent that we need a passuk to refute the premise?