Romans 8:17

15 For ye have not received the spirit of bondage again to fear; but ye have received the Spirit of adoption, whereby we cry, Abba, Father.

16 The Spirit itself beareth witness with our spirit, that we are the children of God:

And if children, then heirs; heirs of God, and joint-heirs with Christ; if so be that we suffer with him, that we may be also glorified together.

18 For I reckon that the sufferings of this present time are not worthy to be compared with the glory which shall be revealed in us.

19 For the earnest expectation of the creature waiteth for the manifestation of the sons of God.

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

Compare

BSB
And if we are children, then we are heirs: heirs of God and co-heirs with Christ—if indeed we suffer with Him, so that we may also be glorified with Him.
KJV
And if children, then heirs; heirs of God, and joint-heirs with Christ; if so be that we suffer with him, that we may be also glorified together.
WEB
and if children, then heirs—heirs of God and joint heirs with Christ, if indeed we suffer with him, that we may also be glorified with him.
ASV
and if children, then heirs; heirs of God, and joint-heirs with Christ; if so be that we suffer with [him], that we may be also glorified with [him].
DARBY
And if children, heirs also: heirs of God, and Christ's joint heirs; if indeed we suffer with [him], that we may also be glorified with [him].
BLB
and if children, also heirs: heirs indeed of God, and co-heirs of Christ, if indeed we suffer with [Him], so that we may also be glorified with [Him].
ÅB
Men er vi barn, så er vi også arvinger – Guds arvinger og Kristi medarvinger – så hvis vi lider med ham, skal vi også herliggjøres med ham.
OTB
Og hvis vi er barn, da er vi arvinger—Guds arvinger og medarvinger med Kristus, hvis vi virkelig deler i Hans lidelser for at vi også kan dele i Hans herlighet.
B1930
men er vi barn, da er vi også arvinger, Guds arvinger og Kristi medarvinger, såfremt vi lider med ham, forat vi også skal herliggjøres med ham.

Study notes (Tyndale)

Original text and word study

Cross references