But it does not say "if we try to keep the Law for righteousness, we will be judged by it"
Romans 2:12, “For as many as have sinned without the Law, will also perish without the Law, and as many as have sinned in the Law, will be judged by the Law.”
It says those without the Law will die and those with the Law will be judged by it.
and "dead to the Law" I think you are mixed up as to what Law followrs of Yahshiua are dead to:
Romans 3:28, “For we maintain that a person is justified by faith apart from the works of the Law.”
Romans 3:31, “Are we then doing away with the Law* through the faith? By no means! Rather, we establish the Law*!”
*“Law” is word # G3551 – nomos, Strong's Concordance, nomos: that which is assigned, hence usage, law, Original Word: νόμος, ου, ὁ, Part of Speech: Noun, Masculine, Transliteration: nomos, Phonetic Spelling: (nom'-os), Short Definition: a law, the Mosaic Law, Definition: usage, custom, law; in NT: of, law in general, plur: of divine laws; of a force or influence impelling to action; of the Mosaic law;, metion: of the books which contain the law, the Pentateuch, the Old Testament scriptures in general
Romans 6:16, "Do you not know that to whom you present yourselves servants for obedience, you are servants of the one whom you obey, whether of sin to death, or of obedience to righteousness?"
Romans, “6:1-2, "What shall we say then? Are we to continue in sin* that grace may abound? By no means! How can we who died to sin still live in it?"
*What is sin, that we may not continue in it and thus have “died to sin”?
1 John 3:4, "Whoever commits sin, transgresses also the Law; for sin is the transgression of the Law."
Romans 7:25, “Thanks be to YHWH, I have deliverance through Yahshua Messiah our King! So then, with this same mind, I myself serve the Law of YHWH, while in the flesh that is yet subject to the law of sin.”
Romans 8:2, “Because through Yahshua Messiah, the Law of the Spirit has set me free from the law of sin and death.”
Romans 6:12-23, “Therefore do not let sin reign in your mortal body, to obey it in its desires, neither present your members as instruments of unrighteousness to sin, but present yourselves to יהוה as being alive from the dead, and your members as instruments of righteousness to יהוה. For sin shall not rule over you, for you are not under the law but under favor. (Gen 4:7, “Is it not if you do good, you are to be accepted? And if you do not do good, towards the door is a sin, it is lying and towards you is his desire, and you must rule over it.”) What then? Shall we sin because we are not under Torah but under unmerited mercy? Let it not be! Do you not know that to whom you present yourselves servants for obedience, you are servants of the one whom you obey, whether of sin to death, or of obedience to righteousness? But thanks to יהוה that you were servants of sin, yet you obeyed from the heart that form of teaching to which you were entrusted. And having been set free from sin, you became servants of righteousness. I speak as a man, because of the weakness of your flesh. For even as you did present your members as servants of uncleanness, and of lawlessness resulting in lawlessness, so now present your members as servants of righteousness resulting in set-apartness. For when you were servants of sin, you were free from righteousness. What fruit, therefore, were you having then, over which you are now ashamed? For the end thereof is death. But now, having been set free from sin, and having become servants of יהוה, you have your fruit resulting in set-apartness, and the end, everlasting life. For the wages of sin is death, but the favorable gift of יהוהis everlasting life in Messiah יהושע our Master.”
Romans 7 -
7 What? Can anyone therefore say that the Law is sin? No! By no means! But to the contrary, I did not know sin; transgression of the Law, except through the Law, for I did not know lust, unless the Law had said: Do not covet.
12 Therefore the Law is holy, and the commandments are holy, and just, and righteous.
13 Did that which is righteous, then, become death to me? By no means! But in order that sin might be recognized as sin, it produced death in me through that which was righteous, so that through the commandments, sin might become utterly sinful.
14 For we know that the Law is spiritual; but I was carnal, sold into the power of sin*.
1 John 3:4, "...for sin is the transgression of the Law."
Romans 7 -
16 And if I did what I did not want to do, I agreed that the Law is righteous.
17 As it was, it was no longer I myself who did it, but it was sin living in me.
22 For I delight in the Law of YHWH according to the inward man;
23 But I saw another law at work in the members of my body, waging war against the Law in my mind, and bringing me into captivity of the law of sin, which is in my members.
25 Thanks be to YHWH, I have deliverance through Yahshua Messiah our King! So then, with this same mind, I myself serve the Law of YHWH, while in the flesh that is yet subject to the law of sin.
it is "the law of sin" we are supposed to be dead to, not the "Law of God"
I agree the intent and the true teaching of the Law is love, but to say the Law is gone and then say "I love" is making our own version of what love is and not seeking His version of LOVE:
1 John 5:2-3, "By this we know that we love the children of Yah, when we love Yah and guard His commands. For this is the love for Yah, that we guard His commands, and His commands are not heavy."
1 Yahanan /John 2:3-7, “And by this we know that we know Him, if we guard His commands. The one who says, “I know Him,” and does not guard His commands, is a liar, and the truth is not in him. But whoever guards His Word, truly the love of Yah has been perfected in him. By this we know that we are in Him. The one who says he stays in Him ought himself also to walk, even as He walked. Beloved, I write no fresh command to you, but an old command which you have had from the beginning. The old command is the Word which you heard from the beginning.”