Leon Trotsky said this quote

There are no absolute rules of conduct, either in peace or war. Everything depends on circumstances.