know which side one's bread is buttered on

idiom

Definition of know which side one's bread is buttered on

informal
: to know how to act or how to treat others in order to get what one want He pretends to be impartial, but believe me, he knows which side his bread is buttered on.