James 4:17

Therefore, to one who knows the right thing to do and does not do it, to him it is sin.

John 9:41

Jesus said to them, If you were blind, you would have no sin; but since you say, ‘We see,’ your sin remains.

Luke 12:47-48

And that slave who knew his master’s will and did not get ready or act in accord with his will, will receive many lashes,

John 13:17

If you know these things, you are blessed if you do them.

John 15:22

If I had not come and spoken to them, they would not have sin, but now they have no excuse for their sin.

Romans 1:20-21

For since the creation of the world His invisible attributes, His eternal power and divine nature, have been clearly seen, being understood through what has been made, so that they are without excuse.

Romans 1:32

and although they know the ordinance of God, that those who practice such things are worthy of death, they not only do the same, but also give hearty approval to those who practice them.

Romans 2:17-23

But if you bear the name “Jew” and rely upon the Law and boast in God,

Romans 7:13

Therefore did that which is good become a cause of death for me? May it never be! Rather it was sin, in order that it might be shown to be sin by effecting my death through that which is good, so that through the commandment sin would become utterly sinful.

2 Peter 2:21

For it would be better for them not to have known the way of righteousness, than having known it, to turn away from the holy commandment handed on to them.

Treasury of Scripture Knowledge

Summary

Therefore to him that knoweth to do good, and doeth it not, to him it is sin.

Bible References

General references

Luke 12:47
And that slave who knew his master’s will and did not get ready or act in accord with his will, will receive many lashes,
John 9:41
Jesus said to them, If you were blind, you would have no sin; but since you say, ‘We see,’ your sin remains.
John 13:17
If you know these things, you are blessed if you do them.
John 15:22
If I had not come and spoken to them, they would not have sin, but now they have no excuse for their sin.
Romans 1:20
For since the creation of the world His invisible attributes, His eternal power and divine nature, have been clearly seen, being understood through what has been made, so that they are without excuse.
Romans 2:17
But if you bear the name “Jew” and rely upon the Law and boast in God,
Romans 7:13
Therefore did that which is good become a cause of death for me? May it never be! Rather it was sin, in order that it might be shown to be sin by effecting my death through that which is good, so that through the commandment sin would become utterly sinful.