go against somebody/something phrasal verb ( see also ↑ go )
1 . if something goes against your beliefs, principles etc, it is opposite to them:
This goes against everything I’ve been brought up to believe in.
I often have to make decisions that go against the grain (=are not what I would normally choose to do) .
2 . to do the opposite of what someone wants or advises you to do:
She was scared to go against her father’s wishes.
3 . if a decision, judgment etc goes against you, you do not get the result you want:
His lawyer hinted that the case might go against him.
The vote went against the government.