Have/keep a foot in both camps verb phrase
To support or be connected with two opposing sides
After that heated argument two of my best friends split up, so I had to keep a foot in both camps.
I decided to have a foot in both camps because each side has its own interests.
The verb "have/keep" should be conjugated according to its tense.
Come out of a difficult situation without a stain on one's character
I don't understand how he can fall in shit and come out smelling like a rose.