had his cake and ate it too, achieved two opposite goals
MADE AN OMELETTE WITHOUT BREAKING EGGS
Meaning of MADE AN OMELETTE WITHOUT BREAKING EGGS in English
Explanatory English dictionary bed edition. Толковый словарь английского языка Редакция bed. 2012