What is the meaning of [Like master, like man]

Here ‘man’ means ‘servant’ or ‘workman’. If the master is a good employer, the
man is a good employee – and vice versa. ‘Like mistress, like maid’ also
applies.