Christ is the end of the law so that there may be righteousness for everyone who believes.
This is complicated. God sent His Son Jesus so that those who believe in Him shall not stand condemned. The Holy Spirit then empowers us to improve. Under the Spirit will strive to become righteous. While never becoming totally sin free the Spirit will groan within us trying to expand our righteousness. It is our faith in Christ that declares our righteousness not our works lest any man should boast. As the Spirit groans in us we will become obedient to the word, better role models, and our hearts will open in love to the world around us.