There is a saying that who you socialize with defines who you are.
I find it very inspiring.
Find a healthier socializing way.
Don’t fall into the pit of gossip, especially not in the office.
The reason some people participate in workplace gossip in the first place is that they are afraid of being isolated.
If this is exactly your situation, then you are drinking poison to quench thirst.
One of the worst things of workplace gossip is that it does not have much logic. Participants simply hope that other people will recognize their opinions so that they themselves can get emotional satisfaction.
People who share the same opinions as them are friends, otherwise they are enemies.
Whether the gossip concerns the family life of a colleague or private life of a celebrity, it is essentially the same.
Such kind of socializing will not give you any chance of self-improvement. Instead, it may lead you to a moral abduction.
It would be better for you to take some courses and learn skills that interest you on your spare time.
Or you can join some hobby groups and meet like-minded people.
There goes an old saying: We would rather fight with a sensible person than argue with an idiot.