John Gills Exposition of the Bible Commentary

Verse 13 (Proverbs 23:13)

Withhold not correction from the child ,.... When he has committed a fault, and correction is necessary; for to spare it is the ruin of the child, and no proof of true affection in the parent, but the reverse; see Proverbs 13:24 ;

for, if thou beatest him with a rod, he shall not die ; if he be beaten moderately, there is no danger of his dying under the rod, or with the stripes given him; besides, such moderate and proper corrections may be a means of preserving him from such crimes as would bring him to a shameful and untimely death, and so he shall not die such a death; and by such means, through the grace of God, he may escape the second, or eternal death.

- John Gills Exposition of the Bible Commentary