Spare the rod, spoil the child.
What Proverbs 13:24 actually says is,
"He who spares his rod hates his son, but he who loves him disciplines him diligently."
(New American Standard Bible)