if the cap fits
idiom
variants:
or if the cap fits, wear it
Definition of if the cap fits
British
—used to say that something said about a person is true and the person should accept it as true They may not like being called careless, but if the cap fits, wear it.