Ezekiel 14:19-21:

Or if I send a pestilence into that land, and pour out my fury upon it in blood, to cut off from it man and beast:
Though Noah, Daniel, and Job, were in it, as I live, saith the Lord GOD, they shall deliver neither son nor daughter; they shall but deliver their own souls by their righteousness.
For thus saith the Lord GOD; How much more when I send my four sore judgments upon Jerusalem, the sword, and the famine, and the noisome beast, and the pestilence, to cut off from it man and beast?

See also:

Sickness as Chastening and Judgment in the Old Testament