does your bad karma affect your children fortune

as we know what goes around, comes around.. so if one does something bad, will that come back to only them or can it affect their children and indirectly affect them