Proverbs 13:24 in the King James Version
He that spareth his rod hateth his son: but he that loveth him chasteneth him betimes.
Context
23 An abundance of food is in poor people’s fields, but injustice sweeps it away.
24 One who spares the rod hates his son, but one who loves him is careful to discipline him.
25 The righteous one eats to the satisfying of his soul, but the belly of the wicked goes hungry.