There is a law that governs righteousness. Christ came to fulfil the law, that's why He is the end of it. You can’t understand the gospel if you don’t know what happened in Genesis; Adam's sin caused man to transgress the law of God. Once you are in Christ, you are delivered from the liabilities and penalties of the law