1 Corinthians 11:31-32

31 But if we were more discerning with regard to ourselves, we would not come under such judgment.
32 Nevertheless, when we are judged in this way by the Lord, we are being disciplined so that we will not be finally condemned with the world.