expression
one cannot serve two masters
Proverb meaning a person cannot be loyal to two different authorities or causes at the same time.
二君に仕えずという言葉があるように、同時に二人の上司に仕えるのは難しい。
As the saying goes, 'one cannot serve two masters'; it is difficult to serve two bosses at the same time.