have it both ways
Achieve two mutually exclusive objectives, as in Bill wants to have it both ways—to enjoy Christmas at home and to travel with his friends. The related have it all means “to get everything one wants,” as in It's too bad we can't have it all—the wisdom of experience and the fresh enthusiasm of youth. [Early 1900s]
Words nearby have it both ways
How to use have it both ways in a sentence
France 24 is providing live, round-the-clock coverage of both scenes as they progress.
That officer fretting about his “stance,” we learn, is plagued by PTSD that cripples him both on the job and at home.'Babylon' Review: The Dumb Lives of Trigger-Happy Cops|Melissa Leon|January 9, 2015|DAILY BEAST
Smith attended both funerals as a cop and as the husband of Police Officer Moira Smith, who died on 9/11.
Bush busy engaging constituents on both sides of the same-sex marriage debate ahead of the 2004 presidential election.
The use of slurs from both characters makes it clear just how “new” the idea of an openly gay son is even in this time.‘Empire’ Review: Hip-Hop Musical Chairs with an Insane Soap Opera Twist|Judnick Mayard|January 8, 2015|DAILY BEAST
There was a rumor that Alessandro and his father had both died; but no one knew anything certainly.Ramona|Helen Hunt Jackson
You need but will, and it is done; but if you relax your efforts, you will be ruined; for ruin and recovery are both from within.Pearls of Thought|Maturin M. Ballou
We prefer the American volume of Hochelaga to the Canadian one, although both are highly interesting.
The bride elect rushes up to him, and so they both step down to the foot-lights.Physiology of The Opera|John H. Swaby (AKA "Scrici")
If you throw away this chance, you will both richly deserve to be hanged, as I sincerely trust you will be.The Posthumous Papers of the Pickwick Club, v. 2(of 2)|Charles Dickens