If someone is struggling with mental health issues is it ever acceptable to say this isn’t how society works?

Like let’s say they have to miss work for a period due to depression and someone says that isn’t acceptable to society

If someone is struggling with mental health issues is it ever acceptable to say this isn’t how society works?
Post Opinion