have a chip on your shoulder

Obere Mittelstufe (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."