run counter to
idiomDefinition of run counter to
of a thing, such as a belief or theory
: to be opposed to : to disagree with
His theory ran counter to the beliefs of his time.