Book of Proverbs

Proverbs 13:24

King James Version
24 He that spareth his rod hateth his son: but he that loveth him chasteneth him betimes.