In psychology we call it projection. In the military we call it preparing the battlefield. Both are correct.