Shame is not as effective as offering support, especially since the root cause of the behavior is not necessarily in the persons control. Working additional hours might be seen as a requirement in some fields, so you might be shaming them into not talking about the issue, but the best way to actually solve the problem would likely be to empathize with them and change their perspective.
If someone is in an abusive relationship and they mention the abuse to someone, shaming them for being in that relationship and subjecting themselves to that behavior is unlikely to fix anything. Offering them compassion and support and safe alternatives is demonstrably more effective. Shame is likely to make them more defensive about their choices or stop talking about the abuse they suffer entirely, especially if the issue is not entirely in their control. I think similar behavior and responses would be elicited in the case of working relationships as well.