Did you get that in writing?
Because if it’s not in writing, it didn’t happen. I have heard this many times in my work career, and even lost a job I loved because I only had a verbal agreement. Unfortunately, simply doing good work isn’t always enough - we fear not getting credit, not being heard, and of course we fear having our heads on the chopping block when things go south. All this creates a culture of “covering your a$$” at work that negatively impacts company culture.