Galatians 3:23-4:11
Now before faith came, we were confined under the law, kept under restraint until faith should be revealed. So that the law was our custodian until Christ came, that we might be justified by faith.
But now that faith has come, we are no longer under a custodian; for in Christ Jesus you are all sons of God, through faith. For as many of you as were baptized into Christ have put on Christ. There is neither Jew nor Greek, there is neither slave nor free, there is neither male nor female; for you are all one in Christ Jesus. And if you are Christ's, then you are Abraham's offspring, heirs according to promise.
I mean that the heir, as long as he is a child, is no better than a slave, though he is the owner of all the estate; but he is under guardians and trustees until the date set by the father. So with us; when we were children, we were slaves to the elemental spirits of the universe.
But when the time had fully come, God sent forth his Son, born of woman, born under the law, to redeem those who were under the law, so that we might receive adoption as sons. And because you are sons, God has sent the Spirit of his Son into our hearts, crying, "Abba! Father!" So through God you are no longer a slave but a son, and if a son then an heir.
Formerly, when you did not know God, you were in bondage to beings that by nature are no gods; but now that you have come to know God, or rather to be known by God, how can you turn back again to the weak and beggarly elemental spirits, whose slaves you want to be once more? You observe days, and months, and seasons, and years! I am afraid I have labored over you in vain.