Idiom used when someone thinks he is the targeted person by something that was said

In Arabic we have many variants of idiosm / adages used when something is said (usually an accusation or criticism), and one of the attendees thinks that he is being referred to and objects to that despite that the original statement did not explicitly mentioned him. So the adage goes to show that this happens only because this person is indeed doing the wrong thing stated in the original scentence. What is the English equivalent of that?


https://www.collinsdictionary.com/dictionary/english/if-the-cap-fits-wear-it

I've always thought of this as meaning "If you think a criticism was aimed at you, then it probably was", though this isn't exactly how the dictionaries define it.