2 Peter 2:21

For it would have been better for them never to have known the way of uprightness than to have known it and then to turn their backs on the sacred command committed to their trust.

Luke 12:47

That slave who knows his master's wishes and does not get ready or act upon them will be severely punished.

Romans 7:12

So the law itself is holy, and its specific commands are holy, right, and good.

Hebrews 6:4-6

For it is impossible for those who have once for all been enlightened and have experienced the gift from heaven, who have been made sharers of the Holy Spirit

Matthew 11:23-24

And you, Capernaum, are you to be exalted to heaven? No, you belong to the regions of the dead! For if the wonder-works done in you had been done in Sodom, it would have continued until today.

Matthew 21:32

For John came to you walking in the way of uprightness, and yet you did not believe him. The tax-collectors and prostitutes did believe him, but you, even though you saw that, would not change your minds afterward and believe him.

John 9:41

Jesus answered them, "If you were blind, you would not be guilty, but now you keep on claiming, 'We can see'; so your sin remains."

John 15:22

"If I had not come and spoken to them, they would not be guilty of sin. But now the fact is, they have no excuse for their sin.

1 Thessalonians 4:2

For you are aware of the instructions which we gave you by the authority of the Lord Jesus.

James 4:17

So when a man knows what is right but does not do it, he is guilty of sin.

Treasury of Scripture Knowledge

Summary

For it had been better for them not to have known the way of righteousness, than, after they have known it, to turn from the holy commandment delivered unto them.

The way

Bible References

It had

Matthew 11:23
And you, Capernaum, are you to be exalted to heaven? No, you belong to the regions of the dead! For if the wonder-works done in you had been done in Sodom, it would have continued until today.
Luke 12:47
That slave who knows his master's wishes and does not get ready or act upon them will be severely punished.
John 9:41
Jesus answered them, "If you were blind, you would not be guilty, but now you keep on claiming, 'We can see'; so your sin remains."
John 15:22
"If I had not come and spoken to them, they would not be guilty of sin. But now the fact is, they have no excuse for their sin.

The way

Matthew 21:32
For John came to you walking in the way of uprightness, and yet you did not believe him. The tax-collectors and prostitutes did believe him, but you, even though you saw that, would not change your minds afterward and believe him.

Holy

Romans 7:12
So the law itself is holy, and its specific commands are holy, right, and good.
1 Thessalonians 4:2
For you are aware of the instructions which we gave you by the authority of the Lord Jesus.

General references

Matthew 7:27
And the rain fell, and the rivers rose, and the wind blew and beat against that house, and it collapsed, and the wreck of it was complete."
Luke 14:30
and say, 'This fellow started to erect a building but could not complete it!'
Luke 17:32
Remember Lot's wife!
1 Timothy 5:15
For some widows have already turned aside to follow Satan.