What, then, is the purpose of the laws given to Moses? They were added to identify what wrongdoing is. Moses' laws did this until the descendant to whom the promise was given came. It was put into effect through angels, using a mediator.
A mediator is not used when there is only one person involved, and God has acted on his own.
Does this mean, then, that the laws given to Moses contradict God's promises? That's unthinkable! If those laws could give us life, then certainly we would receive God's approval because we obeyed them.
But Scripture states that the whole world is controlled by the power of sin. Therefore, a promise based on faith in Jesus Christ could be given to those who believe.
We were kept under control by Moses' laws until this faith came. We were under their control until this faith which was about to come would be revealed.
Before Christ came, Moses' laws served as our guardian. Christ came so that we could receive God's approval by faith.
But now that this faith has come, we are no longer under the control of a guardian.