Proverbs 19:18 in the King James Version
Chasten thy son while there is hope, and let not thy soul spare for his crying.
Context
17 He who has pity on the poor lends to the LORD; he will reward him.
18 Discipline your son, for there is hope; don’t be a willing party to his death.
19 A hot-tempered man must pay the penalty, for if you rescue him, you must do it again.