Ezekiel 14:20 NKJV

20 even though Noah, Daniel, and Job were in it, as I live," says the Lord God, "they would deliver neither son nor daughter; they would deliver only themselves by their righteousness."