it takes one to know one - definition and synonyms

phrase spoken
  1. used for saying that someone must have a bad quality themselves if they can recognize it in other people

    ‘He’s a complete idiot!’ ‘Well, it takes one to know one!’

See also main entry: one