Hebrews 12:8

8 God teaches all his children not to do wrong things. So if he does not punish you, it shows that you are not really his children. Instead, you are like children who do not really belong to him.