James 4:17

He therefore that knows how to do good and does it not, to him it is sin.

John 9:41

Jesus said to them, If you were blind you would not have had sin; but now you say, We see, your sin remains.

Luke 12:47-48

And that servant who knew his lord's will and prepared not himself, nor did according to his will, shall be beaten with many stripes;

John 13:17

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

John 15:22

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

Romans 1:20-21

For his invisible [attributes] are clearly seen from the creation of the world, being perceived by the things which are made, even his eternal power and deity, so that they have no defense,

Romans 1:32

who knowing the ordinance of God, that those who do such things deserve death, not only do the same, but have pleasure in those who do them.

Romans 2:17-23

But [what] if you are called a Jew and rest on the law, and boast of God,

Romans 7:13

Did then that which is good become death to me? By no means, but sin; that sin might be made manifest, producing death to me through that which is good, that sin might become exceedingly sinful through the commandment.

2 Peter 2:21

For it is better for them not to have known the way of righteousness, than, having known, to turn from the holy commandment delivered 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 servant who knew his lord's will and prepared not himself, nor did according to his will, shall be beaten with many stripes;
John 9:41
Jesus said to them, If you were blind you would not have had sin; but now you say, We see, your sin remains.
John 13:17
If you know these things, blessed are you if you do them.
John 15:22
If I had not come and spoken to them, they would not have had sin; but now they have no pretext for their sin.
Romans 1:20
For his invisible [attributes] are clearly seen from the creation of the world, being perceived by the things which are made, even his eternal power and deity, so that they have no defense,
Romans 2:17
But [what] if you are called a Jew and rest on the law, and boast of God,
Romans 7:13
Did then that which is good become death to me? By no means, but sin; that sin might be made manifest, producing death to me through that which is good, that sin might become exceedingly sinful through the commandment.