Sin-consciousness is believing that anything you do that is wrong has an effect on being in right-standing with God.
Self-righteousness is believing that anything you do that is good has an effect on being in right-standing with God.
Both are ARROGANCE, and neither affect your right-standing with God.
– Bishop Joshua Maynard