philosophy よりも spirit(精神)の方が一般的だと思います。
It is against the spirit of world peace.
It goes against the spirit of world peace.
どちらも可能です。
「反する」とは少し意味がずれるかもしれませんが、「平和を脅かす」という意味で
It poses a threat to world peace.
という言い方もできますね。
こんにちは!
ご質問ありがとうございます。
ご質問について、いくつか言い方が考えられますが、例えば、
That goes against the idea of world peace.
とすると、「それは[世界平和](https://eikaiwa.dmm.com/uknow/questions/84039/)に反します。」となります。
役に立ちそうな単語とフレーズ
go against ~に反する
the idea of world peace 世界平和という考え
be contrary to ~に反する
参考になれば幸いです。