Galatians 3:23-4:7
The Purpose of the Law
Now before faith came, we were imprisoned and guarded under the law until faith would be revealed. Therefore the law was our disciplinarian until Christ came, so that we might be justified by faith. But now that faith has come, we are no longer subject to a disciplinarian, for in Christ Jesus you are all children of God through faith. As many of you as were baptized into Christ have clothed yourselves with Christ. There is no longer Jew or Greek, there is no longer slave or free, there is no longer male and female; for all of you are one in Christ Jesus. And if you belong to Christ, then you are Abraham's offspring, heirs according to the promise.
My point is this: heirs, as long as they are minors, are no better than slaves, though they are the owners of all the property; but they remain under guardians and trustees until the date set by the father. So with us; while we were minors, we were enslaved to the elemental spirits of the world. But when the fullness of time had come, God sent his Son, born of a woman, born under the law, in order to redeem those who were under the law, so that we might receive adoption as children. And because you are children, God has sent the Spirit of his Son into our hearts, crying, "Abba! Father!" So you are no longer a slave but a child, and if a child then also an heir, through God.