Paul says, "For by grace you have been saved through faith; and that not of yourselves, it is the gift of God; not as a result of works, so that no one may boast." (Ephesians 2:8)
Paul makes it clear that Christ abolished the Law:
"For He Himself is our peace, who made both groups into one and broke down the barrier of the dividing wall, by abolishing in His flesh the enmity, which is the Law of commandments contained in ordinances, so that in Himself He might make the two into one new man, thus establishing peace, and might reconcile them both in one body to God through the cross, by it having put to death the enmity." (Ephesians 2:14-16)
On the cross, Christ abolished the Law of Moses with all of its commandments and ordinances.