Sinners who were not subject to the law will perish all the same, without the law; sinners who were under the law will have that law to judge them. It is not listening to the law but keeping it that will make people wholly in the sight of God.
There is not one man on this entire earth that can keep the law, Romans 3:23 KJV. And those who claim they keep the law will die in their sins because, any attempt to keep the law, the law will result in death, Romans 8:2 KJV.
That’s why Jesus came: to save us from the condemnation of the law, Romans 8:1 KJV.
We cannot live according to self, which is the carnal man, therefore we can’t keep the law if we are dead, and our life is hid in Christ Colossians 3:3 KJV. Any attempt to keep the law will be in the self, and the self man (old man and/or our carnal nature) has been crucified on the cross, Romans 6:6 KJV.
So how must we live? We live according to the Spirit. And if we live according to the Spirit, there is no need to keep the law, because the Spirit is “God in us,” 1 Corinthians 2:12 KJV, we dwell in Him and He dwells in us, 1 John 4:13 KJV, which makes us righteous - because the Spirit cannot sin, 1 John 3:9 KJV. The Spirit in us takes the place of the law, that is, “the righteousness of the law might be fulfilled in us, who walk not after the flesh, but after the Spirit,” Romans 8:4 KJV. God Who is the creator of the law, and is in us by His Spirit, does not have to keep His Own law.
In Jesus the keeping of the law is credited to the believer, because Jesus IS the ENTIRETY of the law. We are in Christ, and Christ is in us, therefore, because of Christ, we automatically are made righteous under the law. Because it is the righteousness of Christ that is imputed onto us, 2 Corinthians 5:21 KJV, Philippians 3:9 KJV, Galatians 2:16 KJV, Romans 3:22 KJV, 1 Corinthians 1:30 KJV, Romans 4:5 KJV. In Christ, the law is put in our hearts and mind by the Power of the Holy Spirit through faith, thereby circumcising our hearts, eliminating the need to keep the law, Philippians 3:3 KJV. Because the law is death, Romans 7:6 KJV, but Christ Jesus is life.
If we believe on Christ, we then are counted righteous, because Christ is the fullness of the law.
It’s Jesus, not the law. The entire Mosiac law, to include the Ten Commandments was about Jesus; pointed to Jesus. Now that Jesus came in the likeness of man, died on the cross, and rose, and is the fullness of the Godhead bodily, Colossians 2:9 KJV, and is our savior, why go back to the very law that pointer to Jesus, when He is our Lord and Savior, and our High Priest.
We don’t follow the law, we follow the Power of God that is unto salvation, which is the gospel Romans 1:16 KJV. It is the gospel of Christ that is unto salvation, not the law.