The Wisdom of Jesus the Son of Sirach, or Ecclesiasticus

Chapter 30
1He who teaches his son will provoke his enemy to jealousy. Before friends, he will rejoice in him.