Yes gambling can be a factor for broken marriage and also a problem for a member of family when he is not able to quit gambling.
Because when addiction comes to you, you will not going to think about the things that can be good to your family.
But you will just going to think about yourself and your addiction that you need to sustain to satisfy your own addiction.
and if you are married and already have a child, You really should stop gambling. Think of your child's future, Better to keep your money for their future like school. Also better if you buy something for your child, trust me they will happy, and if they are happy, you will happy too.