this is called a Confirmation bias.
Confirmation bias refers to the tendency to interpret new evidence as a confirmation about our current belief, no matter whay the new evidence tell us.
For example, if we believe that ever men are sexist, every little thing that we don't like about men will be interpreted as an act of sexism.