The working class doesn’t only work in its workplace. A woman worker also sleeps in her home, her children play in the public park and go to the local school, and sometimes she asks her retired mother to help out with the cooking. In other words, the major functions of reproducing the working class take place outside the workplace.
Who understands this process best? Capitalism. This is why capitalism attacks social reproduction viciously in order to win the battle at the point of production. This is why it attacks public services, pushes the burden of care onto individual families, cuts social care–in order to make the entire working class vulnerable and less able to resist its attacks on the workplace.