An interesting article on coworkers. Yes this has happened before to me. How do you deal with this?
Be very good at what you do. No weaknesses son. Second be very helpful. Third make your boss successful. Fourth no gossiping at work. Extremely professional.
Remember son, you go to work to earn so that you can have fun with your family and be happy. You don't need shit at work.
What’s Worse Than a Coworker Who Undermines You? | LinkedIn
Bad colleagues can wreak havoc. One of the signs of a bad coworker is a pattern of persistent undermining—intentionally hindering a colleague’s success, reputation, or relationships. If you’ve ever had a coworker actively interfere with your productivity, try to make you look bad, steal your ideas, or give you false information, you’ve been the victim of undermining.
The opposite of an underminer is a supporter. When colleagues are supportive, they go out of their way to be givers rather than takers, working to enhance our productivity, make us look good, share ideas, and provide timely help.
Most people assume that relationships are either bad or good. Our coworkers are either takers who undermine us or givers who support us. But research shows otherwise: negative and positive relationships are independent. Many of us have ambivalent relationships with a colleague who undermines us in some situations but supports us in others. What are the implications of these ambivalent relationships?