langtrap

know which side one's bread is buttered on

v.
(idiomatic) To be aware of where one's interests lie in a situation.