Any kind of professional discrimination can lead to loss of confidence, feeling discouraged, and you being unable to focus on your work. It brings down the overall morale of the workplace, which affects everyone's work. While at home, there is no discrimination. Neither your boss nor your colleagues may interact with you on a daily basis (face-to-face). Thus, you don't have to feel down in the dumps. You are respected as an important employee, and this adds to your confidence.