James 4:17

Therefore sin is still in the one that knows to do good and does not do it.

John 9:41

Jesus said unto them, If ye were blind, ye should have no sin; but now because ye say, We see, therefore your sin abides.

Luke 12:47-48

And that slave who knew his lord's will and prepared not himself, neither did according to his will, shall be beaten with many stripes.

John 13:17

If ye know these things, ye shall be blessed if ye do them.

John 15:22

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

Romans 1:20-21

For the invisible things of him, his eternal power and divinity, are clearly understood by the creation of the world and by the things that are made so that there is no excuse;

Romans 1:32

Who having understood the righteousness of God, they did not understand that those who do such things are worthy of death, not only those that do the same, but even those who encourage those that do them.

Romans 2:17-23

Behold, thou doth call thyself a Jew and art supported by the law and doth glory in God

Romans 7:13

Was then that which is good made death unto me? No, in no wise. But sin, to show itself sin by that which is good, worked death in me, making sin exceedingly sinful by the commandment.

2 Peter 2:21

For it would have been better for them not to have known the way of righteousness, than, after they have known it, to turn back from the holy commandment delivered unto 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 lord's will and prepared not himself, neither did according to his will, shall be beaten with many stripes.
John 9:41
Jesus said unto them, If ye were blind, ye should have no sin; but now because ye say, We see, therefore your sin abides.
John 13:17
If ye know these things, ye shall be blessed if ye do them.
John 15:22
If I had not come and spoken unto them, they would not have sin; but now they have no excuse for their sin.
Romans 1:20
For the invisible things of him, his eternal power and divinity, are clearly understood by the creation of the world and by the things that are made so that there is no excuse;
Romans 2:17
Behold, thou doth call thyself a Jew and art supported by the law and doth glory in God
Romans 7:13
Was then that which is good made death unto me? No, in no wise. But sin, to show itself sin by that which is good, worked death in me, making sin exceedingly sinful by the commandment.