They were both righteous before God, walking blamelessly in all the commandments and ordinances of the Lord.
Ordinances - Rites and customs which God had ordained or appointed. These words refer to all the duties of religion which were made known to them.