idiom
gain the upper ground
Meaning
to achieve a position of advantage or superiority
Example
The opposition **gained the upper ground** after the scandal.