2 Peter 2:21

for it were better to them not to have acknowledged the way of the righteousness, than having acknowledged it, to turn back from the holy command delivered to them,

Ezekiel 18:24

And in the turning back of the righteous from his righteousness, And he hath done perversity, According to all the abominations That the wicked hath done, he doth -- thus he liveth, All his righteousnesses that he hath done are not remembered, For his trespass that he hath trespassed, And for his sin that he hath sinned, For them he doth die.

Luke 12:47

'And that servant, who having known his lord's will, and not having prepared, nor having gone according to his will, shall be beaten with many stripes,

Romans 7:12

so that the law, indeed, is holy, and the command holy, and righteous, and good.

Hebrews 6:4-6

for it is impossible for those once enlightened, having tasted also of the heavenly gift, and partakers having became of the Holy Spirit,

Psalm 36:3-4

The words of his mouth are iniquity and deceit, He ceased to act prudently -- to do good.

Psalm 125:5

As to those turning to their crooked ways, Jehovah causeth them to go with workers of iniquity. Peace on Israel!

Proverbs 12:28

In the path of righteousness is life, And in the way of that path is no death!

Proverbs 16:31

A crown of beauty are grey hairs, In the way of righteousness it is found.

Ezekiel 3:20

'And in the turning back of the righteous from his righteousness, and he hath done perversity, and I have put a stumbling-block before him, he dieth; because thou hast not warned him, in his sin he dieth, and not remembered is his righteousness that he hath done, and his blood from thy hand I require.

Ezekiel 23:13

And I see that she hath been defiled, One way is to them both.

Zephaniah 1:6

And those removing from after Jehovah, And who have not sought Jehovah, nor besought Him.

Matthew 11:23-24

'And thou, Capernaum, which unto the heaven wast exalted, unto hades shalt be brought down, because if in Sodom had been done the mighty works that were done in thee, it had remained unto this day;

Matthew 21:32

for John came unto you in the way of righteousness, and ye did not believe him, and the tax-gatherers and the harlots did believe him, and ye, having seen, repented not at last -- to believe him.

John 9:41

Jesus said to them, 'If ye were blind, ye were not having had sin, but now ye say -- We see, therefore doth your sin remain.

John 15:22

if I had not come and spoken to them, they were not having sin; but now pretext they have not for their sin.

1 Thessalonians 4:2

for ye have known what commands we gave you through the Lord Jesus,

James 4:17

to him, then, knowing to do good, and not doing, sin it is to him.

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, which unto the heaven wast exalted, unto hades shalt be brought down, because if in Sodom had been done the mighty works that were done in thee, it had remained unto this day;
Luke 12:47
'And that servant, who having known his lord's will, and not having prepared, nor having gone according to his will, shall be beaten with many stripes,
John 9:41
Jesus said to them, 'If ye were blind, ye were not having had sin, but now ye say -- We see, therefore doth your sin remain.
John 15:22
if I had not come and spoken to them, they were not having sin; but now pretext they have not for their sin.

The way

Proverbs 12:28
In the path of righteousness is life, And in the way of that path is no death!
Proverbs 16:31
A crown of beauty are grey hairs, In the way of righteousness it is found.
Matthew 21:32
for John came unto you in the way of righteousness, and ye did not believe him, and the tax-gatherers and the harlots did believe him, and ye, having seen, repented not at last -- to believe him.

To turn

Psalm 36:3
The words of his mouth are iniquity and deceit, He ceased to act prudently -- to do good.
Psalm 125:5
As to those turning to their crooked ways, Jehovah causeth them to go with workers of iniquity. Peace on Israel!
Ezekiel 3:20
'And in the turning back of the righteous from his righteousness, and he hath done perversity, and I have put a stumbling-block before him, he dieth; because thou hast not warned him, in his sin he dieth, and not remembered is his righteousness that he hath done, and his blood from thy hand I require.
Ezekiel 18:24
And in the turning back of the righteous from his righteousness, And he hath done perversity, According to all the abominations That the wicked hath done, he doth -- thus he liveth, All his righteousnesses that he hath done are not remembered, For his trespass that he hath trespassed, And for his sin that he hath sinned, For them he doth die.
Ezekiel 23:13
And I see that she hath been defiled, One way is to them both.
Zephaniah 1:6
And those removing from after Jehovah, And who have not sought Jehovah, nor besought Him.

Holy

Romans 7:12
so that the law, indeed, is holy, and the command holy, and righteous, and good.
1 Thessalonians 4:2
for ye have known what commands we gave you through the Lord Jesus,

General references

Genesis 24:6
And Abraham saith unto him, 'Take heed to thyself, lest thou cause my son to turn back thither;
Numbers 14:4
And they say one unto another, 'Let us appoint a head, and turn back to Egypt.'
Deuteronomy 14:7
Only, this ye do not eat, of those bringing up the cud, and of those dividing the cloven hoof: the camel, and the hare, and the rabbit, for they are bringing up the cud but the hoof have not divided; unclean they are to you;
Jeremiah 34:11
and they turn afterwards, and cause the men-servants and the maid-servants to return, whom they had sent forth free, and they subdue them for men-servants and for maid-servants.
Ezekiel 33:18
In the turning back of the righteous from his righteousness, And he hath done perversity -- he dieth for it.
Matthew 7:27
and the rain did descend, and the streams came, and the winds blew, and they 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 the wife of Lot.
1 Timothy 5:15
for already certain did turn aside after the Adversary.