Galatians 3:19-22 NIV

19 Why, then, was the law given at all? It was added because of transgressions until the Seed to whom the promise referred had come. The law was given through angels and entrusted to a mediator.

References for Galatians 3:19

20 A mediator, however, implies more than one party; but God is one.

References for Galatians 3:20

21 Is the law, therefore, opposed to the promises of God? Absolutely not! For if a law had been given that could impart life, then righteousness would certainly have come by the law.

References for Galatians 3:21

22 But Scripture has locked up everything under the control of sin, so that what was promised, being given through faith in Jesus Christ, might be given to those who believe.

References for Galatians 3:22