Yes child will inherits good and bad qualities. But in some cases some child’s learn good things from the society.
If you are in doubt then don’t marry with her. discus the issue with family
Try the find momina girl she will be better option for you, your family and generation.