Sirach (Ecclesiasticus) 30:12

Beat his sides while he is still young, lest becoming stubborn, he disobey thee.

Brenton's English Septuagint