This is an example of "self-fulfilling prophecy".
A self-fulfilling prophecy is a conviction that works out on the grounds that we are going about as though it is as of now obvious. Our desire that we will see a specific result changes our conduct, which shapes the way others see us. Thus, others give the criticism we've set ourselves up to get, which serves to fortify the first conviction.