When we rely on our own works for our justification and worth, rather than on the finished work of Christ, we deceive ourselves through self-righteousness. True righteousness comes from a heart that has been changed by the grace of God.