Sirach 30:12

Bow down his neck in his youth, and beat his sides while he is young, or else he will become stubborn and disobey you, and you will have sorrow of soul from him.