Galatians 3:24-25 says that the law functions as our a guardian until we clothe ourselves with Christ. That’s when we put on the new self, which is being renewed in knowledge in the image of its Creator. (Col 3:10).
As we know Christ and seek to do His will, he renew our knowledge and perception of reality. When we reiceve Christ’s Spirit, we no longer conform to the patterns of this world Rom (12:1-5). When that happens, we begin to walk by the Spirit; the law becomes an after thought.
The “fish proverb” helps understand the proper place of the law in the Christian live.
“Give a man a fish and you feed him for a day. Teach a man how to fish and you feed him for a life time”
When we follow only the law, it is like we are given the “spiritual fish” (very specific directions of what we can and cannot do). This works for a time but is not sustainable on the long run. When we love Jesus, the Spirit teach us how to walk in alignment to God’s vision for His kingdom. In other words, when we walk by the Spirit we are not given fish but we are taught how to fish.
As our relationship with God deepens, we hear His voice more clearly and trust His plans for our lives…. and as we align our plans with God’s dreams for us, we will follow the law as a consequence. We won’t have to strive for obedience (the fish) but will know how to fish for God’s direction.