serve two masters

Etymology
From Matthew 6:24 in the Bible.

Verb

 * 1)  To take orders from two superiors or two conflicting parties.