Meaning of “go against sth” - Learner’s Dictionary

go against sth

phrasal verb with go uk us /ɡəʊ/ verb [ I ] (present participle going, past tense went, past participle gone)

If something goes against a rule or something you believe in, it does not obey it or agree with it:

It goes against my principles to lie.

(Definition of “go against sth” from the Cambridge Learner’s Dictionary © Cambridge University Press)