The Law of the Lord is Good and Not Good
In the bible, the law of the Lord is in the Ten Commandments (testimonies of God), the book of the covenant, and the book of the Law of Moses. There is one very important thing that most people do not realize about the laws of the Lord. Most people do not realize that God instituted two types of laws. The two types of laws that God instituted were permanent laws and temporary laws. The bible calls these two types of laws good and not good. (Nehemiah 9:13, Ezekiel 20:25) This is why Paul could say both positive and negative things about the laws of the Lord. He knew that God gave both good laws as well as not good laws.
The Law of the Lord is Not Good
The bible says that God gave Israel laws that were not good and laws by which they could not live. (Ezekiel 20:25) Therefore, it is these not good laws that were temporary. The bible is also very clear about these not good laws of the Lord being temporary.
Sacrifice and meal offering You have not desired; My ears You have opened; burnt offering and sin offering You have not required. (Psalm 40:6)
For You do not delight in sacrifice, otherwise I would give it; You are not pleased with burnt offering. (Psalm 51:16)
The Law was added because of transgressions until the seed would come to whom the promise had been made. (Galatians 3:19)
Having canceled out the certificate of debt consisting of decrees against us, which was hostile to us; and He has taken it out of the way, having nailed it to the cross. (Colossians 2:14)
By abolishing in His flesh the enmity, which is the Law of commandments contained in ordinances. (Ephesians 2:15)
Since they relate only to food and drink and various washings, regulations for the body imposed until a time of reformation. (Hebrews 9:10)
The scriptures above clearly show that Ezekiel 20:25 is simply saying that the Lord gave Israel some temporary laws. They also show that it is only these temporary (not good) laws that ended with the Old Covenant.
The Law of the Lord Is Good
God wants us to keep the way of the Lord by doing righteousness. (Genesis 18:19) Because He loves righteousness. (Psalm 11:7, Psalm 33:5, Psalm 45:7) Because righteousness is the foundation of His throne. (Psalm 89:14, Psalm 97:2) Moreover, righteousness delivers from death. (Proverbs 10:2, Proverbs 11:4) He who is steadfast in righteousness will attain to life. (Proverbs 11:19) In the way of righteousness is life, and in its pathway there is no death. (Proverbs 12:28)
The good laws of the Lord do not have negative comments about them in the bible. Instead, we read the following about them. The judgments of the Lord are righteous altogether. (Psalm 19:9) I shall give thanks to You when I learn Your righteous judgments. (Psalm 119:7) Your judgments are righteous. (Psalm 119:75) I shall give thanks to You because of Your righteous ordinances. (Psalm 119:62) I will keep Your righteous ordinances. (Psalm 119:106) Every one of Your righteous ordinances is everlasting. (Psalm 119:160) I praise You because of Your righteous ordinances. (Psalm 119:164) Your testimonies are righteous forever. (Psalm 119:144) All Your commandments are righteousness. (Psalm 119:172) The commandment is holy and righteous and good. (Romans 7:12)
The Lord gave Israel statutes and ordinances, by which, if a man observes them, he will live. However, Israel did not walk in His statutes, and they rejected His ordinances, by which, if a man observes them, he will live. Then God resolved to pour out His wrath on them in the wilderness for they did not walk in His statutes, nor were they careful to observe His ordinances, by which, if a man observes them, he will live. (Ezekiel 20: 11, 13, 21) These laws represent the righteousness, which is in the law of the Lord. (Romans 10:5, Philippians 3:6, Philippians 3:9)
The Statutes that Ensure Life
If a man executes God’s ordinances, and walks in His statutes he will not die, he will surely live. (Ezekiel 18:17) If he observes all God’s statutes and practices justice and righteousness, he shall surely live; he shall not die. (Ezekiel 18:21) When a man practices justice and righteousness, he will save his life. (Ezekiel 18:27) If he turned away from all his transgressions that he had committed, he shall surely live; he shall not die. (Ezekiel 18:28) If he walks by the statutes that ensure life without committing iniquity, he shall surely live; he shall not die. (Ezekiel 33:15) Therefore, God wants the righteous requirements of the Law to be fulfilled in His servants. (Romans 8:4)
At least twice, Christ said that if you want to inherit eternal life, keep the commandments. (Luke 10:28, Luke 18:20) Christ also said that God’s commandment is eternal life. (John 12:50) Even Paul said that the commandment was to result in life. (Romans 7:10) It should be self-evident by now that the Lord instituted good laws that are tied to eternal life and not good laws that are not tied to eternal life.
The Law of the Lord is Eternal
Are the good laws God instituted are eternal? Once a servant of God inherits eternal life, will good laws still be needed. These are indeed two very good questions. The bible never says that sin will end. It does say that death will end. (1 Corinthians 15:26) But it does not say anywhere that such a thing will happen to sin. This is because God has only created beings with freedom of choice. As long as His created beings have freedom of choice, the possibility of sin exists. This includes those who have attained eternal life, such as Satan and his followers. Moreover, as long as the possibility of sin exists, the law of the Lord must exist. Any immortal being who sins will simply join Satan in the lake of fire.