10 Commandments is the Law
Law was not created to make you Righteous
Romans 3:20
New International Version (NIV)
20 Therefore no one will be declared righteous in God’s sight by the works of the law; rather, through the law we become conscious of our sin.
By the law is the knowledge of sin
Romans 3:20
New King James Version (NKJV)
20 Therefore by the deeds of the law no flesh will be justified in His sight, for by the law is the knowledge of sin.