Your pastor is telling you that the law of the Old Testament is done away with. We have something new and old has passed away.
We need to look at the consistency of scripture. From the very beginning to the very end the message is the same. Obey the commandments of God. That is how you truly turn from sin. None of us will ever be perfect and you can’t earn your salvation. But to turn from sin is to keep the law. Enjoy the short video.