2 Peter 2:21

For it is better for them not to have known the way of righteousness, than, having known, to turn from the holy commandment delivered to them.

Luke 12:47

And that servant who knew his lord's will and prepared not himself, nor did according to his will, shall be beaten with many stripes;

Romans 7:12

The law therefore is holy, and the commandment holy and righteous and good.

Hebrews 6:4-6

For those once enlightened and having tasted of the heavenly gift and been made partakers of the Holy Spirit,

Matthew 11:23-24

And you, Capernaum, which are exalted even to heaven, shall go down even to hades; for if the mighty works which have been done in you had been done in Sodom, it would have remained to this day.

Matthew 21:32

For John came to you in a way of righteousness, and you believed him not; but the publicans and harlots believed him; and when you saw this, you did not afterwards repent, that you might believe him.

John 9:41

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

John 15:22

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

1 Thessalonians 4:2

For you know what commandments we gave you by the Lord Jesus.

James 4:17

He therefore that knows how to do good and does it not, to him it is 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, which are exalted even to heaven, shall go down even to hades; for if the mighty works which have been done in you had been done in Sodom, it would have remained to this day.
Luke 12:47
And that servant who knew his lord's will and prepared not himself, nor did according to his will, shall be beaten with many stripes;
John 9:41
Jesus said to them, If you were blind you would not have had sin; but now you say, We see, your sin remains.
John 15:22
If I had not come and spoken to them, they would not have had sin; but now they have no pretext for their sin.

The way

Matthew 21:32
For John came to you in a way of righteousness, and you believed him not; but the publicans and harlots believed him; and when you saw this, you did not afterwards repent, that you might believe him.

Holy

Romans 7:12
The law therefore is holy, and the commandment holy and righteous and good.
1 Thessalonians 4:2
For you know what commandments we gave you by the Lord Jesus.

General references

Matthew 7:27
and the rain descended, and the floods came, and the winds blew and beat on that house, and it fell; and its fall was great.
Luke 14:30
saying, This man began to build and was not able to finish.
Luke 17:32
remember Lot's wife.
1 Timothy 5:15
for some have already turned back after Satan.