18 Discipline your children, for in that there is hope; do not be a willing party to their death.

Read Proverbs 19:18 Using Other Translations

Chasten thy son while there is hope, and let not thy soul spare for his crying.
Discipline your son, for there is hope; do not set your heart on putting him to death.
Discipline your children while there is hope. Otherwise you will ruin their lives.