A chip on your shoulder

To be disappointed with something that occurred in the past.

Examples

Justin has a chip on his shoulder because his little brother didn't let him sleep all night.