Galatians 3:23-4:7 English Standard Version (ESV)
23 Now before faith came, we were held captive under the law, imprisoned until the coming faith would be revealed. 24 So then, the law was our guardian until Christ came, in order that we might be justified by faith. 25 But now that faith has come, we are no longer under a guardian, 26 for in Christ Jesus you are all sons of God, through faith. 27 For as many of you as were baptized into Christ have put on Christ. 28 There is neither Jew nor Greek, there is neither slave[a] nor free, there is no male and female, for you are all one in Christ Jesus. 29 And if you are Christ's, then you are Abraham's offspring, heirs according to promise.
Sons and Heirs
4 I mean that the heir, as long as he is a child, is no different from a slave,[b] though he is the owner of everything, 2 but he is under guardians and managers until the date set by his father. 3 In the same way we also, when we were children, were enslaved to the elementary principles[c] of the world. 4 But when the fullness of time had come, God sent forth his Son, born of woman, born under the law, 5 to redeem those who were under the law, so that we might receive adoption as sons. 6 And because you are sons, God has sent the Spirit of his Son into our hearts, crying, “Abba! Father!” 7 So you are no longer a slave, but a son, and if a son, then an heir through God.
Galatians 3:23-4:7 New International Version (NIV)
Children of God
23 Before the coming of this faith,[a] we were held in custody under the law, locked up until the faith that was to come would be revealed. 24 So the law was our guardian until Christ came that we might be justified by faith. 25 Now that this faith has come, we are no longer under a guardian.
26 So in Christ Jesus you are all children of God through faith, 27 for all of you who were baptized into Christ have clothed yourselves with Christ. 28 There is neither Jew nor Gentile, neither slave nor free, nor is there male and female, for you are all one in Christ Jesus. 29 If you belong to Christ, then you are Abraham’s seed, and heirs according to the promise.
4 What I am saying is that as long as an heir is underage, he is no different from a slave, although he owns the whole estate. 2 The heir is subject to guardians and trustees until the time set by his father. 3 So also, when we were underage, we were in slavery under the elemental spiritual forces[b] of the world. 4 But when the set time had fully come, God sent his Son, born of a woman, born under the law, 5 to redeem those under the law, that we might receive adoption to sonship.[c] 6 Because you are his sons, God sent the Spirit of his Son into our hearts, the Spirit who calls out, “Abba,[d] Father.” 7 So you are no longer a slave, but God’s child; and since you are his child, God has made you also an heir.