So what about Proverbs 13:24?

"Whoever spares the rod hates their children,
but the one who loves their children is careful to discipline them."