Is the law then against the promises of God? Certainly not! For if there had been a law given which could have given life, truly righteousness would have been by the law.
Galatians 3:21
Surrounding context
3:20 Now a mediator does not mediate for one only, but God is one.
3:21 Is the law then against the promises of God? Certainly not! For if there had been a law given which could have given life, truly righteousness would have been by the law.
3:22 But the Scripture has confined all under sin, that the promise by faith in Jesus Christ might be given to those who believe.