Have you ever observed any negative pattern in the child which is exactly like the parent and parent has always taught good things to the child but still child adopted that negative pattern of his parent.
Parent is present in the cells of the child and so his pains and patterns are there thus pains that are not healed are transmitted in generations.
When we heal ourselves then the whole lineage is healed.
Hope this helps.