Sirach (Ecclesiasticus) 16:1

Desire not a multitude of unprofitable children, neither delight in ungodly sons.

Brenton's English Septuagint