勝てば官軍負ければ賊軍

Etymology
Literally "In victory you are the government army, in defeat you are the rebels".

Proverb

 * 1) might makes right