have a chip on your shoulder

Intermédiaire supérieur (B2) informal

To act resentful because of something that happened in the past.

"He's always had a chip on his shoulder ever since he was passed over for promotion."