in Cognitive Biases

Self-fulfilling prophecy (also called "behavioral confirmation effect") – the tendency to engage in behaviors that elicit results which will (consciously or not) confirm existing attitudes.