Luke 16:15

And he said to them: You set yourselves forth as righteous before men, but God knows your hearts; for that which is highly esteemed among men, is detestable in the sight of God.

Luke 18:9-11

And he spoke this parable to some, who trusted in themselves that they were righteous, and who despised others.

Romans 7:7-9

What, then, shall we say? Is the law sin? It can not be. Indeed, I had not known sin, except through law. For I had not known evil desire, unless the law had said: You shall not have any evil desire.

Revelation 2:18

And to the angel of the church in Thyatira, write: These things, says the Son of God, who has his eyes like a flame of fire, and his feet like fine brass;

Revelation 2:23

And I will kill her children with death; and all the churches shall know that I am he that searches the reins and the hearts: and I will give to every one of you according to your works.

Treasury of Scripture Knowledge

Summary

All the ways of a man are clean in his own eyes; but the LORD weigheth the spirits.

General references

Bible References

The ways

Luke 18:9
And he spoke this parable to some, who trusted in themselves that they were righteous, and who despised others.
Romans 7:7
What, then, shall we say? Is the law sin? It can not be. Indeed, I had not known sin, except through law. For I had not known evil desire, unless the law had said: You shall not have any evil desire.

But

Luke 16:15
And he said to them: You set yourselves forth as righteous before men, but God knows your hearts; for that which is highly esteemed among men, is detestable in the sight of God.
Revelation 2:18
And to the angel of the church in Thyatira, write: These things, says the Son of God, who has his eyes like a flame of fire, and his feet like fine brass;

General references

Luke 17:10
So also you, when you shall have done all things that you arc commanded to do, say, We are unprofitable servants; for we have done what was our duty to do.