Proverbs 26:3

ESV
“A whip for the horse, a bridle for the donkey, and a rod for the back of fools.”