I think the actual phrase from Proverbs is,
Whoever spares the rod hates their children, but the one who loves their children is careful to discipline them.
“Whoever spares the rod hates their children, but the one who loves their children is careful to discipline them.”
Exactly.....