Yes, that is true. There are a lot of negative psychological and even physical elements that occur when someone is sexually harassed.
There is avoidance of the perpetrator. The person who is being harassed tries to avoid that person and if the person is someone they need to interact with to do their job effectively, it can affect their job performance as well. Often, it is the female who is the one who bears the burden of leaving the company or the organization.