2 Peter 2:21

For it would have been better for them not to have fully known the way of righteousness, than fully knowing it, to turn from the holy commandment delivered to them.

Ezekiel 18:24

But when the righteous turns from his righteousness and does injustice, and does according to all the abominations that the wicked do, shall he live? All his righteousness that he has done shall not be remembered; in his trespass that he has trespassed, and in his sin that he has sinned, in them he shall die.

Luke 12:47

And that servant who knew his lord's will and did not prepare, nor did according to His will, shall be beaten with many stripes.

Romans 7:12

So indeed the Law is holy, and the commandment is holy and just and good.

Hebrews 6:4-6

For it is impossible for those who were once enlightened, and have tasted of the heavenly gift, and were made partakers of the Holy Spirit,

Psalm 36:3-4

The words of his mouth are evil and deceit; he has stopped acting wisely and doing good.

Psalm 125:5

And those who turn aside to their crooked ways, Jehovah shall lead them forth with the workers of iniquity; peace shall be on Israel.

Proverbs 12:28

In the way of righteousness is life, and in that pathway there is no death.

Proverbs 16:31

The gray head is a crown of glory, if it is found in the way of righteousness.

Ezekiel 3:20

And when the righteous turns from his righteousness and commits iniquity, and when I lay a stumbling block before him, he shall die. Because you have not given him warning, he shall die in his sin, and his righteousness which he has done shall not be remembered; but his blood I will require at your hand.

Ezekiel 23:13

And I saw that she was defiled, one way was to both of them.

Zephaniah 1:6

and those drawing back from Jehovah, and who have not sought Jehovah, nor asked for Him.

Matthew 11:23-24

And you, Capernaum, who are exalted to the heaven, shall be brought down to hell. For if the mighty works which have been done in you had been done in Sodom, it would have remained until this day.

Matthew 21:32

For John came to you in the way of righteousness, and you did not believe him. But the tax-collectors and the harlots believed him. And when you had seen it, you did not repent afterwards so that you might believe him.

John 9:41

Jesus said to them, If you were blind, you would have no sin. But now you say, We see. Therefore 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 excuse for their sin.

1 Thessalonians 4:2

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

James 4:17

Therefore to him who knows to do good, and does not do it, 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 you, Capernaum, who are exalted to the heaven, shall be brought down to hell. For if the mighty works which have been done in you had been done in Sodom, it would have remained until this day.
Luke 12:47
And that servant who knew his lord's will and did not prepare, 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 have no sin. But now you say, We see. Therefore 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 excuse for their sin.

The way

Proverbs 12:28
In the way of righteousness is life, and in that pathway there is no death.
Proverbs 16:31
The gray head is a crown of glory, if it is found in the way of righteousness.
Matthew 21:32
For John came to you in the way of righteousness, and you did not believe him. But the tax-collectors and the harlots believed him. And when you had seen it, you did not repent afterwards so that you might believe him.

To turn

Psalm 36:3
The words of his mouth are evil and deceit; he has stopped acting wisely and doing good.
Psalm 125:5
And those who turn aside to their crooked ways, Jehovah shall lead them forth with the workers of iniquity; peace shall be on Israel.
Ezekiel 3:20
And when the righteous turns from his righteousness and commits iniquity, and when I lay a stumbling block before him, he shall die. Because you have not given him warning, he shall die in his sin, and his righteousness which he has done shall not be remembered; but his blood I will require at your hand.
Ezekiel 18:24
But when the righteous turns from his righteousness and does injustice, and does according to all the abominations that the wicked do, shall he live? All his righteousness that he has done shall not be remembered; in his trespass that he has trespassed, and in his sin that he has sinned, in them he shall die.
Ezekiel 23:13
And I saw that she was defiled, one way was to both of them.
Zephaniah 1:6
and those drawing back from Jehovah, and who have not sought Jehovah, nor asked for Him.

Holy

Romans 7:12
So indeed the Law is holy, and the commandment is holy and just and good.
1 Thessalonians 4:2
For we know what commands we gave you by the Lord Jesus.

General references

Genesis 24:6
And Abraham said to him, Take care that you do not bring my son there again.
Numbers 14:4
And they said to one another, Let us make a leader, and let us return to Egypt.
Deuteronomy 14:7
But these you shall not eat, of those which chew the cud, or of those that divide the cloven hoof: the camel, and the hare, and the rock badger, for they chew the cud, but do not divide the hoof. They are unclean to you.
Jeremiah 34:11
But afterward they turned and caused the slaves and slave women whom they had let go free, to return! And they subjected them for slaves and slave women.
Ezekiel 33:18
When the righteous turns from his righteousness and commits iniquity, he shall even die by them.
Matthew 7:27
And the rain came down, and the floods came, and the wind blew and beat on that house. And it fell, and great was its fall.
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 aside after Satan.