There are two kinds of bullying, and you fight them in different ways. Active bullying is when people do something, like yelling or hiding your tools. This is the kind of bullying everyone can see and that you can report to your boss or HR. Passive bullying is when people don’t do something, for example when they invite everybody else to an event. It is hard to report this kind of bullying, but you can still fight back.
The important thing is to have strong relationships outside work. Many people invest most of their time and energy in their jobs, and the people at work become your tribe. We have a deep ancient fear of being excluded from our tribe. In a hunter-gatherer society, exclusion could literally be life-threatening.
If you are the victim of passive bullying at work, join another tribe. It can be your church, an environmental organization, or a sports or crafts club. You do not have to depend on being part of the tribe at work.