This is an example of Bandura's theory of "reciprocal determinism".
As indicated by analyst Albert Bandura, reciprocal determinism  is a model made out of three factors that impact conduct: the environment, the individual, and the behavior itself. As per this theory, a person's conduct impacts and is affected by both the social world and individual qualities. Â
Reciprocal determinism is the possibility that conduct is controlled or dictated by the person, through psychological procedures, and by nature, through outside social upgrade occasions.