Is called a self-fulfilling prophecy. This is a prediction that becomes true due to a change in behavior that allows the prophecy to be fulfilled, this makes the person believe that their perception was true and consider the prophecy as real. This effect is very similar to the confirmation bias. The term was coined by the sociologist Robert Merton.