It comes as a surprise to many Christians who have spent years in church - those of us non-Jewish people (Gentiles) were never considered to be under the Mosaic law. Never. None of it. Not the dietary rules, the sacrificial statutes, or the moral laws. Only Israel had been placed under that law in the Old Covenant, before the sacrifice of Christ. The law brought a curse for those under it - they were required to do it… all of it. Under that covenant, only a doer of the law could be justified. The problem? Nobody had ever done it until Jesus came along and fulfilled the law on our behalf. A New Covenant would be established, where righteousness would be received through faith, apart from the works of the law. Gentiles who were without the law and had no covenant would be gifted with the invitation to enter into this everlasting covenant of life. We died with Christ and have been raised to walk in newness of life.
How you are identified as a believer in Jesus Christ is entirely separate from your works and actions. Israelites under the law declared that the attempt to keep the law of works would be righteousness for them, but there was never an individual who could accomplish the demand of doing it to the point of perfection, as was required. In order to receive the perfection and righteousness that was needed, Jesus fulfilled the law on our behalf and God placed us in Him. He became like us so we could become like him. Instead of pursuing works in order to establish ourselves (which leads to boasting), we abide in the faith of His finished work, where we have nothing to boast. Faith-based righteousness has brought us new life by God’s grace, which empowers us to live in the way of the Spirit, apart from the works of the law.