Ezekiel 14:14; Ezekiel 14:20

14 Even if Noah, Daniel, and Job were there, their righteousness would save no one but themselves, declares the Sovereign LORD."
20 Even if Noah, Daniel, and Job were living there, the Sovereign LORD swears that they could not save the people. They alone would be saved by their righteousness."