Which biblical book includes the words “He that spareth his rod hateth his son"?

History Trivia Question: Which biblical book includes the words “He that spareth his rod hateth his son"?