James 4:17

[follows 2:26] Whoever, then, knows what is right to do and does not do it, that is a sin for him.

John 9:41

Jesus replied, "If you were blind, you would not be guilty; but, as it is, you claim to have sight ??and so your sin remains."

Luke 12:47-48

The servant who knew his lord and master's orders and did not prepare for them, will receive many lashes;

John 13:17

If you know all this, blessed are you if you really do it.

John 15:22

They would not be guilty, if I had not come and spoken to them; but, as it is, they have no excuse for their sin ??23 he who hates me hates my Father also.

Romans 1:32

though they know God's decree that people who practise such vice deserve death, they not only do it themselves but applaud those who practise it.

Romans 2:17-23

If you bear the name of 'Jew,' relying on the Law, priding yourself on God,

Romans 7:13

Then did what was meant for my good prove fatal to me? Never! It was sin; sin resulted in death for me by making use of this good thing. This was how sin was to be revealed in its true nature; it was to use the command to become sinful in the extreme.

2 Peter 2:21

Better had they never known the Way of righteousness, than to know it and then turn back from the holy command which was committed 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 servant who knew his lord and master's orders and did not prepare for them, will receive many lashes;
John 9:41
Jesus replied, "If you were blind, you would not be guilty; but, as it is, you claim to have sight ??and so your sin remains."
John 13:17
If you know all this, blessed are you if you really do it.
John 15:22
They would not be guilty, if I had not come and spoken to them; but, as it is, they have no excuse for their sin ??23 he who hates me hates my Father also.
Romans 2:17
If you bear the name of 'Jew,' relying on the Law, priding yourself on God,
Romans 7:13
Then did what was meant for my good prove fatal to me? Never! It was sin; sin resulted in death for me by making use of this good thing. This was how sin was to be revealed in its true nature; it was to use the command to become sinful in the extreme.