2 Peter 2:21

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

Luke 12:47

And that servant, who knew his master's will, and did not prepare himself to do according to his will, shall be beaten with many stripes;

Romans 7:12

So that the law is holy; and the commandment holy, and just, and good.

Hebrews 6:4-6

who were once enlightened, and have tasted of the heavenly gift, and were made partakers of the holy Spirit,

Matthew 11:23-24

And thou, Capernaum, which art exalted even to heaven, shalt be cast down to hell: for if the miracles, which have been wrought in thee, had been wrought in Sodom, it would have remained unto this day.

Matthew 21:32

for John came unto you in the way of righteousness, and ye did not believe him; but publicans and harlots believed him; and though ye saw that, ye did not repent afterwards, to believe him.

John 9:41

Jesus replied, If ye were blind, ye would not have sin: but now ye say, We see; your sin therefore remaineth.

John 15:22

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

1 Thessalonians 4:2

For ye know what commandments we gave you from the Lord Jesus.

James 4:17

To him therefore that knoweth to do good, and doth 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 thou, Capernaum, which art exalted even to heaven, shalt be cast down to hell: for if the miracles, which have been wrought in thee, had been wrought in Sodom, it would have remained unto this day.
Luke 12:47
And that servant, who knew his master's will, and did not prepare himself to do according to his will, shall be beaten with many stripes;
John 9:41
Jesus replied, If ye were blind, ye would not have sin: but now ye say, We see; your sin therefore remaineth.
John 15:22
If I had not come and spoken unto them, they had not had sin: but now they have no excuse for their sin.

The way

Matthew 21:32
for John came unto you in the way of righteousness, and ye did not believe him; but publicans and harlots believed him; and though ye saw that, ye did not repent afterwards, to believe him.

Holy

Romans 7:12
So that the law is holy; and the commandment holy, and just, and good.
1 Thessalonians 4:2
For ye know what commandments we gave you from the Lord Jesus.

General references

Matthew 7:27
and the rain fell upon it, and the floods came, and the winds blew, and beat upon that house, and it fell, and the fall thereof was great.
Luke 14:30
all that see it, should deride him, saying, this man began to build and was not able to finish.
Luke 17:32
Remember Lot's wife. Whosoever shall seek to save his life, shall lose it;
1 Timothy 5:15
For some are already turned aside after Satan.