phrasal to set opposing interests against each other to one's own ultimate profit
PLAY BOTH ENDS AGAINST THE MIDDLE
Meaning of PLAY BOTH ENDS AGAINST THE MIDDLE in English
Merriam Webster. Explanatory English dictionary Merriam Webster. Толковый словарь английского языка Мерриам-Уэбстер. 2012