And they were both tzaddikim before Hashem, walking a derech tamim in all the mitzvot and chukkim of the Torah of Adoneinu. [BERESHIS 6:9; DEVARIM 5:33; MELACHIM ALEF 9:4]