proverb

To know on which side one’s bread is buttered.

treat

meaning

To know how to treat others in order to get what they want.