Wherefore the law was our schoolmaster to bring us unto Christ, that we might be justified by faith.
So, the law taught us lessons to guide us to Christ, so we could be considered righteous through believing in him.
* Work in progress - there may be occasional inaccuracies