Luke 16:15

And He said to them, Ye are those who justify yourselves before the people; but God knows your hearts: because that which is exalted among the people is abomination in the sight of God.

Luke 18:9-11

And He spoke this parable to certain ones having confidence in themselves that they are righteous, and despising the rest.

Romans 7:7-9

Then what shall we say? is the law sin? It could not be so; but I did not know sin except through the law: for indeed I had not known lusts, unless the law said, Thou shalt not covet.

Revelation 2:18

And to the angel of the church among the Thyatireans write; The Son of God, the one having eyes like a flame of fire, and his feet like burnished brass, says these things;

Revelation 2:23

And I will slay her children with death; and all the churches shall know that I am the one searching the reins and the hearts: and I will give to you each 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 certain ones having confidence in themselves that they are righteous, and despising the rest.
Romans 7:7
Then what shall we say? is the law sin? It could not be so; but I did not know sin except through the law: for indeed I had not known lusts, unless the law said, Thou shalt not covet.

But

Luke 16:15
And He said to them, Ye are those who justify yourselves before the people; but God knows your hearts: because that which is exalted among the people is abomination in the sight of God.
Revelation 2:18
And to the angel of the church among the Thyatireans write; The Son of God, the one having eyes like a flame of fire, and his feet like burnished brass, says these things;

General references

Luke 17:10
Likewise also, when you may do those things which are commanded you, say that, We are unprofitable servants; we have done that which we ought to do.