James 4:17

To him therefore who knows how to do good, and does it not, to him it is sin.

John 9:41

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

Luke 12:47-48

But that bondman who knew his own lord's will, and had not prepared himself nor done his will, shall be beaten with many stripes;

John 13:17

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

John 15:22

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

Romans 1:20-21

for from the world's creation the invisible things of him are perceived, being apprehended by the mind through the things that are made, both his eternal power and divinity, so as to render them inexcusable.

Romans 1:32

who knowing the righteous judgment of God, that they who do such things are worthy of death, not only practise them, but have fellow delight in those who do them.

Romans 2:17-23

But if thou art named a Jew, and restest in the law, and makest thy boast in God,

Romans 7:13

Did then that which is good become death to me? Far be the thought. But sin, that it might appear sin, working death to me by that which is good; in order that sin by the commandment might become exceeding sinful.

2 Peter 2:21

For it were better for them not to have known the way of righteousness, than having known it to turn back 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
But that bondman who knew his own lord's will, and had not prepared himself nor done his will, shall be beaten with many stripes;
John 9:41
Jesus said to them, If ye were blind ye would not have sin; but now ye say, We see, your sin remains.
John 13:17
If ye know these things, blessed are ye if ye do them.
John 15:22
If I had not come and spoken to them, they had not had sin; but now they have no excuse for their sin.
Romans 1:20
for from the world's creation the invisible things of him are perceived, being apprehended by the mind through the things that are made, both his eternal power and divinity, so as to render them inexcusable.
Romans 2:17
But if thou art named a Jew, and restest in the law, and makest thy boast in God,
Romans 7:13
Did then that which is good become death to me? Far be the thought. But sin, that it might appear sin, working death to me by that which is good; in order that sin by the commandment might become exceeding sinful.