They were both righteous before God, walking blamelessly in all the commandments and regulations of the Lord.