If your co-workers are getting promotions and raises and you are not, its a you problem. If someone else is getting credit for your work, its a you problem. Given your claims of impeccable work, we are only left to assume its a personality issue.
Its not to say its fair or right, but life is a popularity contest, whether we like it or not. More likeable people get more things, sometimes undeservingly so.
It’s not true that if someone else is getting credit for your work, that’s a you problem.
At my workplace now, there’s a senior staff engineer taking credit for work that was done by someone 3 levels below him. And the senior staff engineer still thinks he is not getting enough credit for his work. The senior staff engineer’s manager has been crediting him for the work the less senior engineer had done, since the less senior engineer is no longer at that team, in forums where the less senior engineer has no access to.
The less senior engineer is plenty likeable. As is the senior staff engineer. But the less senior engineer had left that team, and the senior staff engineer and his manager are unscrupulous, and do what they’d like to their advantage.
Its not to say its fair or right, but life is a popularity contest, whether we like it or not. More likeable people get more things, sometimes undeservingly so.