Many a good father has but a bad son. meaning

HOME PROVERBS

heredity

Many a good father has but a bad son.

expresses that:
Sometimes the child of a good family is not so good.