They were both righteous. Almost invariably great men of God are born of parents eminently pious. Augustine, Luther, Wesley, and Campbell are examples.