Proverbs 13:24

ESV
“Whoever spares the rod hates his son, but he who loves him is diligent to discipline him.”