According to scripture, we are not under the law (Romans 6:14) are dead to the law (Romans 7:4, Galatians 2:19) and have been delivered from the law (Romans 7:6) as concerning condemnation.
For we have been forgiven through the blood of Christ; and therefore when the Father looks down on us, He sees, not our sins, but the blood and righteousness of His Son Jesus Christ.
And therefore, in the Father's sight, the law does not any longer point the finger at us and call us sinners.
While from the perspective of the Holy Ghost, whose job it is to convict of sin and also to sanctify the believer, He has a relationship with us where He deals with us according to our sins according to the law (1 Corinthians 9:22, Romans 3:20).
As concerning obedience, we are under the law to Christ (again, 1 Corinthians 9:22).
The law is written on our hearts and minds through the New Covenant (Hebrews 8:8-10, Hebrews 10:16, Romans 8:7, Romans 8:4, 1 John 5:3, 2 John 1:6, Romans 13:8-10; Romans 5:5).
And again, we are not under the law (Romans 6:14), are dead to the law (Romans 7:4, Galatians 2:19) and are delivered from the law (Romans 7:6) as concerning condemnation;
while as concerning obedience we become obedient to the moral tenets of the law;
Not through attempting to obey a set of do's and don'ts (the letter); but through walking not after the flesh but after the Spirit (the spirit of what is written, Romans 7:6, 8:4).
As we bear the fruit of the Spirit, there is no law that will condemn us in our behaviour (Galatians 5:22-23). Thus, when we bear the fruit of the Spirit, we become law-abiding citizens of the kingdom of heaven (see Ezekiel 36:25-27).
This is a righteousness apart from the law that is nevertheless attested to be the law and the prophets (Romans 3:21) that it is indeed righteousness.
Because, this righteousness is not obtained by attempting to obey a set of do's and don'ts.
Rather, we obtain the Holy Spirit through faith in Jesus Christ (Galatians 3:14, Ephesians 1:13-14); and as we walk according to the Spirit, the righteousness of the law is fulfilled in us (Romans 8:4, Galatians 5:22-23).
That being said, it is written that if anyone turns his ear away from hearing the law, even his prayer shall be an abomination (Proverbs 28:9).
It is indeed faithful and true that those who are of the law are under a curse (Galatians 3:10, James 2:10, Matthew 5:48). However, this is as concerning those who are attempting to be justified by the law (Galatians 5:1-4).
For those who know that they are justified by the blood of Jesus Christ and not by their obedience / works / law-keeping, it becomes a blessing to look into the perfect law of liberty and to walk according to it (James 1:22-25).