James 4:17

So to him who knows how to do right and does not do it, to him it is sin.

John 9:41

"If you were blind," Jesus answered them, "you would have no sin. But now you are declaring, 'We see'; so your sin remains.

Luke 12:47-48

"The slave who knew his Lord's will, and made not ready, nor did according to his will, will be beaten with many lashes,

John 13:17

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

John 15:22

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

Romans 1:20-21

For ever since the creation of the world his invisible nature, even his everlasting power and divinity, has been clearly seen, being perceived through the things that are made. So they have no excuse.

Romans 1:32

Though they knew well the ordinance of God, that those who practise such vices are worthy of death, they not only continue to do the same, but were even applauding those who practise vice.

Romans 2:17-23

Now if you bear the name of a Jew, and rely upon law, and boast yourself in God,

Romans 7:13

Did then that which was good become for me death? Never! but sin did; that it might be manifest as sin, by that the unutterable malignity of sin might become plain through the commandment.

2 Peter 2:21

Indeed it would have been better for them not to have known the Way of Righteousness, than, after knowing it, to turn back from the holy command 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
"The slave who knew his Lord's will, and made not ready, nor did according to his will, will be beaten with many lashes,
John 9:41
"If you were blind," Jesus answered them, "you would have no sin. But now you are declaring, 'We see'; so your sin remains.
John 13:17
If you know these things, happy are you if you do them.
John 15:22
"If I had not come and spoken to them, they would have no sin; but now they have no excuse for their sin.
Romans 1:20
For ever since the creation of the world his invisible nature, even his everlasting power and divinity, has been clearly seen, being perceived through the things that are made. So they have no excuse.
Romans 2:17
Now if you bear the name of a Jew, and rely upon law, and boast yourself in God,
Romans 7:13
Did then that which was good become for me death? Never! but sin did; that it might be manifest as sin, by that the unutterable malignity of sin might become plain through the commandment.