“I am a doer of the law; The doers of the law shall be justified.”
the apostle Paul
Paul spoke about multiple different categories of law other than the Law of God, such as the law of sin and works of the law, so it is important to correctly identify which law he was referring to, otherwise you'll end up making the mistake of interpreting a servant of God as teaching us to rebel against Him. For example, in Romans 7:25-8:2, Paul contrasted the Law of God with the law of sin and contrasted the Law of the Spirit with the law of sin and death, in Romans 3:27, Paul contrasted a law of works with a law of faith, and in Romans 3:31 and Galatians 3:10-12, Paul contrasted a the Law of God that our faith upholds with the works of the law that are not of faith.
Galatians 5:3-4 KJV
All throughout the Bible, God wanted His people to repent and to return to obedience to the Mosaic Law, and even Christ began his ministry with that Gospel message, so it would be absurd to interpret those verses as Paul warning us against doing that and saying that we will be cut off from Christ if we follow Christ. Furthermore, in Psalms 119:29-30, he wanted to put false ways far from him, for God to be gracious to him by teaching him to obey the Mosaic Law, and he chose the way of faith by setting it before him, so this has always been the one and only way of salvation by grace through faith, this is what it means to be under grace, and it would be absurd to interpret that as if he wanted God to be gracious to him by teaching him how to fall from grace. Paul's problem in Galatians was not with those who were teaching Gentiles how to follow Christ's example of obedience to the Mosaic Law, but with those who were wanting to require Gentiles to obey their works of the law in order to become justified.
According to Deuteronomy 27-28, the way to be blessed is by relying on the Mosaic Law while the way to be cursed is by not relying in, so Galatians 3:10 should not be interpreted as quoting from Deuteronomy 27-28 in order to support a point that is arguing against it by saying that relying on the Mosaic Law is the way to be cursed and not relying on it is the way to avoid being cursed. Rather, those who relied on works of the law were coming under the curse for not relying on the Mosaic Law because they were relying on works of the law instead.
In Galatians 3:10-12, Paul connected a quote from Habakkuk 2:4 that the righteous shall live by faith with a quote from Leviticus 18:5 that the one who obeys the Mosaic Law will live by it, so the righteous who are living by faith are the same as those who are living in obedience to the Mosaic Law. Furthermore, the context of Habakkuk 2:4 contrasts the righteous who are living by faith with those who are not living in obedience to the Mosaic Law, and in Isaiah 51:7, the righteous are those on whose heart is the Mosaic Law, so the righteous living by faith does not refer to a manner of living that is not in obedience to it. God is trustworthy, therefore His law is also trustworthy (Psalms 19:7), so the way to trust God is by obediently trusting in His instructions, it is contradictory to think that we should trust God, but not His instructions, and it to interpret that as saying that God's instructions are not of faith is to deny the faithfulness of God.
James 2:10 KJV
If you have ever told a lie , coveted something once…. it makes you a sinner a person who also broke “the law” that’s what it’s for to make sure everyone knows this part
Romans 3:19-20 KJV
Yet …. You’ve concluded that you keep the law and therefore are justified ?
In James 2:1-11, he was speaking to people who had already sinned by showing favoritism, so he was not telling them that they needed to have perfect obedience because that would have already been too late, he was not telling them that now they won't be justified, and he was not discouraging them from obeying God's law, but rather he was encouraging them to repent and to obey God's law more consistently. The fact that we can repent after we have told a lie and still be justified demonstrates that we do not need to have perfect obedience. According to Romans 4:1-5, we can't earn our justification as a result of obeying God's law even through perfect obedience, so the reason we we do not earn our justification by obeying it is not because we fall short of perfect obedience, but because it was never given as a way of earning our justification in the first place, so that was never the goal the law, though it still remains true that only doers of the law will be justified.
In Exodus 33:13, Moses wanted God to be gracious to him by teaching him to walk in His way that he and Israel might know Him, and in Matthew 7:23, Jesus said that he would tell those who are workers of lawlessness to depart from him because he never knew them, so knowing God and Jesus is the goal of the law, which is eternal life (John 17:3).
In Romans 9:30-10:4, they did not attain righteousness because they misunderstood the goal of the law by pursuing it as though righteousness were earned as a wage in order to establish their own instead of pursing the law as through righteousness were by faith in Christ, for knowing Christ is the goal of the law for righteousness for everyone who has faith. In Romans 10:5-10, this faith references Deuteronomy 30:11-16 in regard to saying that the Mosaic Law is not too difficult to obey, that the one who obeys it will attain life by it, in regard to what we are agreeing to obey by confessing that Jesus is Lord, and in regard to the way to believe that God rose him from the dead (Titus 2:14). So nothing in this passage has anything to do with ending any of God's laws, but just the opposite.
Romans 7:4 KJV
Set free from the law and married to the gospel
1 Corinthians 15:56 KJV
In Romans 7:7, Paul said that the Law of God is not sinful, but is how we know what sin is, and when our sin is revealed, then it leads us to repent and causes sin to decrease, however, the law of sin stirs up sinful passions in order to bear fruit unto death, so it is sinful and causes sin to increase. So verses that refer to a law that is sinful, that causes sin to increase, or that hinders us from obeying the Law of God should be interpreted as referring to the law of sin, such as Romans 5:20, Romans 6:14, Romans 7:4-6, Galatians 2:19, Galatians 5:16, and 1 Corinthians 15:56. A law that is the strength of sin is a law that is sinful, so it can't be referring to the same law as Romans 7:7. Likewise, the Law of God is holy, righteous, and good (Romans 7:12), but a law that is the strength of sin is not. In Romans 7:22-23, Paul delighted in obeying the Law of God, but contrasted it with the law of sin that held him captive, which was causing him not to do the good of obeying the Law of God that he wanted to do, so a good indication that a verse is not referring to the Law of God is if it is referring to something that Paul delighted in doing, such as delighting in the strength of sin.
The Law of God is God's word Christ is God's word made flesh, so obeying the Law of God through following Christ's example is the way to be unified with him, and it would be absurd to interpret Romans 7:4 as saying that we need to die to God's word in order to become unified with God's word made flesh, but rather we would need to die to a law that was hindering us from obeying God's word in order to become unified with him. Likewise, it would be absurd to interpret Romans 7:4 as saying that we need to die to God's instructions for how to bear fruit for Him in order to bear fruit for Him, but rather we would need to die to a law that was hindering us from obeying those instructions.
Mark 16:15-16 KJV
In Matthew 4:15-23, Jesus began his ministry with the Gospel message to repent for the Kingdom of God is at hand, which was a light to the Gentiles, and the Mosaic Law was how his audience knew what sin is (Romans 3:20), so repenting from our disobedience to it is a central part of the Gospel message.
Moses law is for people without the Holy Ghost
In Acts 5:32, the Spirit has been given to those who obey God. In John 16:13, the Spirit has the role of leading us in truth, in Ezekiel 36:26-27, the Spirit has the role of leading us to obey God's law, and in Psalms 119:142, God's law is truth. In John 16:8, the Spirit has the role of convicting us of sin, and in Romans 3:20, it is by God's law that we have knowledge of sin. in Romans 8:4-7, those who walk in the Spirit are contested with those who have minds set on the flesh who refuse to submit to God's law. In Galatians 5:19-23, everything listed as works of the flesh that are against the Spirit are also against God's law while all of the fruits of the Spirit are in accordance with it. In Romans 2:25, the way to recognize that a Gentile has a circumcised heart is by observing their obedience to God's law and circumcision of the heart is a matter of the Spirit, which is in contrast with Acts 7:51-53, where those who have uncircumcised hearts resist the Spirit and do not obey God's law.