Hebrews 12:8

6 For whom the Lord loveth he chasteneth, and scourgeth every son whom he receiveth.

7 If ye endure chastening, God dealeth with you as with sons; for what son is he whom the father chasteneth not?

But if ye be without chastisement, whereof all are partakers, then are ye bastards, and not sons.

9 Furthermore we have had fathers of our flesh which corrected us, and we gave them reverence: shall we not much rather be in subjection unto the Father of spirits, and live?

10 For they verily for a few days chastened us after their own pleasure; but he for our profit, that we might be partakers of his holiness.

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

Compare

BSB
If you do not experience discipline like everyone else, then you are illegitimate children and not true sons.
KJV
But if ye be without chastisement, whereof all are partakers, then are ye bastards, and not sons.
WEB
But if you are without discipline, of which all have been made partakers, then you are illegitimate, and not children.
ASV
But if ye are without chastening, whereof all have been made partakers, then are ye bastards, and not sons.
DARBY
But if ye are without chastening, of which all have been made partakers, then are ye bastards, and not sons.
BLB
But if you⁺ are without discipline, of which they have all become partakers, then you⁺ are illegitimate children and not sons.
ÅB
Men er dere uten tukt, som alle har fått sin del av, da er dere uekte barn, og ikke sønner.
OTB
Hvis dere er uten tukt, som alle har del i, da er dere uekte og ikke sanne sønner og døtre.
B1930
Men er I uten tukt, som alle har fått sin del av, da er I uekte barn, og ikke sønner.

Study notes (Tyndale)

Original text and word study

Cross references