Galatians 5:18, But if you be led of the Spirit, you are not under the law. To understand this passage, let’s back up to verse 16 where Paul instructs the Galatians to walk in the Spirit of Elohim, and not to fulfill the lust of the flesh. What are the lusts of the flesh? Doing that which comes naturally to the carnal, sinful man such as lust, adultery, lying, stealing, worshipping false gods, coveting, and so on. All these things are a violation of YHVH’s Torah-commands.
In verse 18, Paul says that if one walks in accordance with YHVH’s Holy Spirit, then one won’t be sinning or violating the Torah, and thus coming under the penalty of the law when one violates it. One, instead, will be fulfilling the Torah by loving one’s neighbor as oneself, which is the fulfillment of the Torah (vv. 14–15). Then in verses 19 through 21, Paul goes on to list the works of the flesh, all of which are violations of the Ten Commandments and the rest of YHVH’s Torah’s laws. He then lists the fruit of the Spirit (vv. 22–25), which are the summation and result of Torah-obedience (cp. Rom 13:8–10; John 14:14; 1 John 2:3–6).
So now what about verse 18? Very simply this. If we walk in accordance with the Spirit of Elohim that convicts us of sin (i.e. Torahlessness, 1 John 3:4) and leads us away from sin (John 16:8) and into the truth of Yeshua who is the Living Torah-word and truth of Elohim (John 14:6; John 1:1, 14), we will be walking in YHVH’s Torah-truth (Ps 119:142, 151), and under YHVH’s grace if and when we sin. If we either don’t place our faith in Yeshua, or try to earn our own salvation by our good works, then we have failed to receive YHVH’s grace and have placed ourselves under the penalty of the law, which is death. This is a summation and the bottom line message of Paul’s message in the Epistle to the Galatians!