Matthew 6:33 But seek first the kingdom of God and His righteousness, and all these things shall be added to you.
Our righteousness is valuable in the sight of God, if your doing is righteousness. There difference between our own righteousness and God's righteousness.
Luke 16:15 And He said to them, “You are those who justify yourselves before men, but God knows your hearts. For what is highly esteemed among men is an abomination in the sight of God.
What seems right in the sight of men is an abomination before God. Faith will save us but we are also to do a good deed.