Know which side your bread is buttered

return pic

To know who is helpful to you and how you should respond to get what you want

origin pic

John Heywood’s 1546 glossary A Dialogue conteinyng the nomber in effect of all the Prouerbes in the Englishe tongue: I knowe on whiche syde my breade is buttred.