2 Peter 2:21

For it would have been better for them not to have known the way of righteousness than having known [it], to turn back from the holy commandment that had been delivered to them.

Ezekiel 18:24

And {when the righteous turns} from his righteousness, so that he does injustice, and does all of the detestable things that the wicked do, then will he live [because of] all of his righteousness that he did? [Those things] will not be remembered because of his infidelity that he displayed, and because of his {sin that he committed}. Through them he shall die.

Luke 12:47

And that slave who knew the will of his master and did not prepare or do according to his will {will be given a severe beating}.

Romans 7:12

So then, the law [is] holy, and the commandment [is] holy and righteous and good.

Hebrews 6:4-6

For [it is] impossible [concerning] those who have once been enlightened, and have tasted the heavenly gift, and become sharers of the Holy Spirit,

Psalm 36:3-4

The words of his mouth [are] wickedness and deceit. He has ceased to have insight [and] to do good.

Psalm 125:5

But regarding those who turn aside to their crooked ways, Yahweh will lead them away with the evildoers. Peace [be] upon Israel.

Proverbs 12:28

On the road of righteousness is life, and [on] the way of the path, [may there be] no death.

Proverbs 16:31

A crown of glory is gray hair; by a righteous life it is gained.

Ezekiel 3:20

And {when the righteous turns from his righteousness} and does injustice, and I place a stumbling block {before him}, he will die, for you did not warn him. Because of his sin he will die, and his righteousness that he did will not be remembered, and his blood I shall seek from your hand.

Ezekiel 23:13

And I saw that she was defiled; {they had both taken the same path}!

Zephaniah 1:6

and those who turned back from {following} Yahweh, and who did not seek Yahweh, and did not inquire of him."

Matthew 11:23-24

And you, Capernaum, will you be exalted to heaven? No, you will be brought down to Hades! For if the miracles done in you had been done in Sodom, it would have remained until today.

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 prostitutes did believe him. And [when] you saw [it], you did not even change your minds later [so as] to believe in him.

John 9:41

Jesus said to them, "If you were blind, you would not have 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 sin. But now they do not have a valid excuse for their sin.

1 Thessalonians 4:2

For you know what commands we gave to you through the Lord Jesus.

James 4:17

Therefore, to the one 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, will you be exalted to heaven? No, you will be brought down to Hades! For if the miracles done in you had been done in Sodom, it would have remained until today.
Luke 12:47
And that slave who knew the will of his master and did not prepare or do according to his will {will be given a severe beating}.
John 9:41
Jesus said to them, "If you were blind, you would not have 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 sin. But now they do not have a valid excuse for their sin.

The way

Proverbs 12:28
On the road of righteousness is life, and [on] the way of the path, [may there be] no death.
Proverbs 16:31
A crown of glory is gray hair; by a righteous life it is gained.
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 prostitutes did believe him. And [when] you saw [it], you did not even change your minds later [so as] to believe in him.

To turn

Psalm 36:3
The words of his mouth [are] wickedness and deceit. He has ceased to have insight [and] to do good.
Psalm 125:5
But regarding those who turn aside to their crooked ways, Yahweh will lead them away with the evildoers. Peace [be] upon Israel.
Ezekiel 3:20
And {when the righteous turns from his righteousness} and does injustice, and I place a stumbling block {before him}, he will die, for you did not warn him. Because of his sin he will die, and his righteousness that he did will not be remembered, and his blood I shall seek from your hand.
Ezekiel 18:24
And {when the righteous turns} from his righteousness, so that he does injustice, and does all of the detestable things that the wicked do, then will he live [because of] all of his righteousness that he did? [Those things] will not be remembered because of his infidelity that he displayed, and because of his {sin that he committed}. Through them he shall die.
Ezekiel 23:13
And I saw that she was defiled; {they had both taken the same path}!
Zephaniah 1:6
and those who turned back from {following} Yahweh, and who did not seek Yahweh, and did not inquire of him."

Holy

Romans 7:12
So then, the law [is] holy, and the commandment [is] holy and righteous and good.
1 Thessalonians 4:2
For you know what commands we gave to you through the Lord Jesus.

General references

Genesis 24:6
Abraham said to him, "{You must take care} that you do not return my son there.
Numbers 14:4
{They said to each other}, "Let us appoint a leader, and we will return [to] Egypt."
Deuteronomy 14:7
Only these you may not eat from {those chewing the cud} and from {those having a division of the hoof}: the camel and the hare and the coney, because {they chew the cud}, but they [do] not divide the hoof; they are [therefore] unclean for you.
Jeremiah 34:11
But {afterward} they turned back and they brought back the [male] slaves and the female slaves whom they had let go free, and they subdued them as [male] slaves and female slaves.
Ezekiel 33:18
When [the] righteous turns from his righteousness and does injustice, then he will die {because of it}.
Matthew 7:27
And the rain came down and the rivers came and the winds blew and beat against that house, and it collapsed, 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 already some have turned away [and followed] after Satan.