2 Peter 2:21

For it were better for them not to have known the way of righteousness, than, after knowing it, to turn back from the holy commandment delivered unto them.

Ezekiel 18:24

But when the righteous turneth away from his righteousness, and committeth iniquity, and doeth according to all the abominations that the wicked man doeth, shall he live? None of his righteous deeds that he hath done shall be remembered: in his trespass that he hath trespassed, and in his sin that he hath sinned, in them shall he die.

Luke 12:47

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

Romans 7:12

So that the law is holy, and the commandment holy, and righteous, and good.

Hebrews 6:4-6

For as touching those who were once enlightened and tasted of the heavenly gift, and were made partakers of the Holy Spirit,

Psalm 36:3-4

The words of his mouth are iniquity and deceit: He hath ceased to be wise and to do good.

Psalm 125:5

But as for such as turn aside unto their crooked ways, Jehovah will lead them forth with the workers of iniquity. Peace be upon Israel.

Proverbs 12:28

In the way of righteousness is life; And in the pathway thereof there is no death.

Proverbs 16:31

The hoary head is a crown of glory; It shall be found in the way of righteousness.

Ezekiel 3:20

Again, when a righteous man doth turn from his righteousness, and commit iniquity, and I lay a stumblingblock before him, he shall die: because thou hast not given him warning, he shall die in his sin, and his righteous deeds which he hath done shall not be remembered; but his blood will I require at thy hand.

Ezekiel 23:13

And I saw that she was defiled; they both took one way.

Zephaniah 1:6

and them that are turned back from following Jehovah; and those that have not sought Jehovah, nor inquired after him.

Matthew 11:23-24

And thou, Capernaum, shalt thou be exalted unto heaven? thou shalt go down unto Hades: for if the mighty works had been done in Sodom which were done in thee, it would have remained until this day.

Matthew 21:32

For John came unto you in the way of righteousness, and ye believed him not; but the publicans and the harlots believed him: and ye, when ye saw it, did not even repent yourselves afterward, that ye might believe him.

John 9:41

Jesus said unto them, If ye were blind, ye would have no sin: but now ye say, We see: your sin 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 charge we gave you through the Lord Jesus.

James 4:17

To him therefore that knoweth to do good, and doeth 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.

Bible References

It had

Matthew 11:23
And thou, Capernaum, shalt thou be exalted unto heaven? thou shalt go down unto Hades: for if the mighty works had been done in Sodom which were done in thee, it would have remained until this day.
Luke 12:47
And that servant, who knew his lord's will, and made not ready, nor did according to his will, shall be beaten with many'stripes ;
John 9:41
Jesus said unto them, If ye were blind, ye would have no sin: but now ye say, We see: your sin 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

Proverbs 12:28
In the way of righteousness is life; And in the pathway thereof there is no death.
Proverbs 16:31
The hoary head is a crown of glory; It shall be found in the way of righteousness.
Matthew 21:32
For John came unto you in the way of righteousness, and ye believed him not; but the publicans and the harlots believed him: and ye, when ye saw it, did not even repent yourselves afterward, that ye might believe him.

To turn

Psalm 36:3
The words of his mouth are iniquity and deceit: He hath ceased to be wise and to do good.
Psalm 125:5
But as for such as turn aside unto their crooked ways, Jehovah will lead them forth with the workers of iniquity. Peace be upon Israel.
Ezekiel 3:20
Again, when a righteous man doth turn from his righteousness, and commit iniquity, and I lay a stumblingblock before him, he shall die: because thou hast not given him warning, he shall die in his sin, and his righteous deeds which he hath done shall not be remembered; but his blood will I require at thy hand.
Ezekiel 18:24
But when the righteous turneth away from his righteousness, and committeth iniquity, and doeth according to all the abominations that the wicked man doeth, shall he live? None of his righteous deeds that he hath done shall be remembered: in his trespass that he hath trespassed, and in his sin that he hath sinned, in them shall he die.
Ezekiel 23:13
And I saw that she was defiled; they both took one way.
Zephaniah 1:6
and them that are turned back from following Jehovah; and those that have not sought Jehovah, nor inquired after him.

Holy

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

General references

Genesis 24:6
And Abraham said unto him, Beware thou that thou bring not my son thither again.
Numbers 14:4
And they said one to another, Let us make a captain, and let us return into Egypt.
Deuteronomy 14:7
Nevertheless these ye shall not eat of them that chew the cud, or of them that have the hoof cloven: the camel, and the hare, and the coney; because they chew the cud but part not the hoof, they are unclean unto you.
Jeremiah 34:11
but afterwards they turned, and caused the servants and the handmaids, whom they had let go free, to return, and brought them into subjection for servants and for handmaids.
Ezekiel 33:18
When the righteous turneth from his righteousness, and committeth iniquity, he shall even die therein.
Matthew 7:27
and the rain descended, and the floods came, and the winds blew, and smote upon that house; and it fell: and great was the fall thereof.
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 already some are turned aside after Satan.

American Standard Version Public Domain