And they were both tzaddikim before Hashem, walking a derech tamim in all the mitzvos and chukkim of the Torah of Adoneinu.