They were both righteous in the sight of God, following all the commandments and ordinances of the Lord blamelessly.