But if that family is dependent on gambling and runs the family from the money earned from gambling then parents should not participate in gambling in front of the child for the time being.
Why do you say gambling is a job to fulfill family needs? What about the risk of losing? Shouldn't gambling be for games only, not for a full-time job?