Galatians 4:7

5 to redeem those under the law, that we might receive our adoption as sons.

6 And because you are sons, God sent the Spirit of His Son into our hearts, crying out, “Abba, Father!”

So you are no longer a slave, but a son; and since you are a son, you are also an heir through God.

8 Formerly, when you did not know God, you were slaves to those who by nature are not gods.

9 But now that you know God, or rather are known by God, how is it that you are turning back to those weak and worthless principles? Do you wish to be enslaved by them all over again?

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
So you are no longer a slave, but a son; and since you are a son, you are also an heir through God.
KJV
Wherefore thou art no more a servant, but a son; and if a son, then an heir of God through Christ.
WEB
So you are no longer a bondservant, but a son; and if a son, then an heir of God through Christ.
ASV
So that thou art no longer a bondservant, but a son; and if a son, then an heir through God.
DARBY
So thou art no longer bondman, but son; but if son, heir also through God.
BLB
So you are no longer a slave but a son; and if a son, also an heir through God.
ÅB
Så er du da ikke lenger slave, men sønn; men er du sønn, da er du og arving ved Gud.
OTB
Derfor er du ikke lenger en slave, men et barn; og er du et barn, da er du også arving ved Gud.
B1930
Så er du da ikke lenger træl, men sønn; men er du sønn, da er du og arving ved Gud.

Study notes (Tyndale)

Original text and word study

Cross references